diff --git a/.changelog/3512.txt b/.changelog/3512.txt new file mode 100644 index 0000000000..04e57ec830 --- /dev/null +++ b/.changelog/3512.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_eb_bus: fix typo error +``` diff --git a/CHANGELOG.md b/CHANGELOG.md index d1e73f026f..7a60402ca0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.82.22(September 9 , 2025) + +ENHANCEMENTS: + +* resource/tencentcloud_eb_bus: fix typo error ([#3512](https://github.com/tencentcloudstack/terraform-provider-tencentcloud/pull/3512)) + ## 1.82.21(September 5 , 2025) FEATURES: diff --git a/tencentcloud/provider.md b/tencentcloud/provider.md index c209f70fa1..b17431ed87 100644 --- a/tencentcloud/provider.md +++ b/tencentcloud/provider.md @@ -1303,6 +1303,7 @@ tencentcloud_nat_gateway_flow_monitor tencentcloud_nat_refresh_nat_dc_route tencentcloud_ha_vip tencentcloud_ha_vip_eip_attachment +tencentcloud_ha_vip_instance_attachment tencentcloud_vpc_bandwidth_package tencentcloud_vpc_bandwidth_package_attachment tencentcloud_ipv6_address_bandwidth diff --git a/tencentcloud/services/eb/data_source_tc_eb_bus.go b/tencentcloud/services/eb/data_source_tc_eb_bus.go index 24074e61e6..84dfc20bca 100644 --- a/tencentcloud/services/eb/data_source_tc_eb_bus.go +++ b/tencentcloud/services/eb/data_source_tc_eb_bus.go @@ -177,7 +177,7 @@ func dataSourceTencentCloudEbBusRead(d *schema.ResourceData, meta interface{}) e } tmpSet = append(tmpSet, &filter) } - paramMap["filters"] = tmpSet + paramMap["Filters"] = tmpSet } service := EbService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()} diff --git a/tencentcloud/services/eb/data_source_tc_eb_bus.md b/tencentcloud/services/eb/data_source_tc_eb_bus.md index cacf6aeb4c..55eb8e8619 100644 --- a/tencentcloud/services/eb/data_source_tc_eb_bus.md +++ b/tencentcloud/services/eb/data_source_tc_eb_bus.md @@ -3,24 +3,18 @@ Use this data source to query detailed information of eb bus Example Usage ```hcl -resource "tencentcloud_eb_event_bus" "foo" { - event_bus_name = "tf-event_bus" - description = "event bus desc" - enable_store = false - save_days = 1 - tags = { - "createdBy" = "terraform" - } -} - -data "tencentcloud_eb_bus" "bus" { +data "tencentcloud_eb_bus" "this" { order_by = "created_at" - order = "DESC" + order = "DESC" + filters { - values = ["Custom"] - name = "Type" + name = "Type" + values = ["Cloud", "Platform"] } - depends_on = [ tencentcloud_eb_event_bus.foo ] + filters { + name = "EventBusName" + values = ["default"] + } } ``` \ No newline at end of file diff --git a/website/docs/d/eb_bus.html.markdown b/website/docs/d/eb_bus.html.markdown index be250c87fc..8e2ad3bd20 100644 --- a/website/docs/d/eb_bus.html.markdown +++ b/website/docs/d/eb_bus.html.markdown @@ -14,25 +14,19 @@ Use this data source to query detailed information of eb bus ## Example Usage ```hcl -resource "tencentcloud_eb_event_bus" "foo" { - event_bus_name = "tf-event_bus" - description = "event bus desc" - enable_store = false - save_days = 1 - tags = { - "createdBy" = "terraform" - } -} - -data "tencentcloud_eb_bus" "bus" { +data "tencentcloud_eb_bus" "this" { order_by = "created_at" order = "DESC" + filters { - values = ["Custom"] name = "Type" + values = ["Cloud", "Platform"] } - depends_on = [tencentcloud_eb_event_bus.foo] + filters { + name = "EventBusName" + values = ["default"] + } } ``` diff --git a/website/docs/r/ha_vip_instance_attachment.html.markdown b/website/docs/r/ha_vip_instance_attachment.html.markdown new file mode 100644 index 0000000000..d786602ac7 --- /dev/null +++ b/website/docs/r/ha_vip_instance_attachment.html.markdown @@ -0,0 +1,47 @@ +--- +subcategory: "Virtual Private Cloud(VPC)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_ha_vip_instance_attachment" +sidebar_current: "docs-tencentcloud-resource-ha_vip_instance_attachment" +description: |- + Provides a resource to create a vpc ha_vip_instance_attachment +--- + +# tencentcloud_ha_vip_instance_attachment + +Provides a resource to create a vpc ha_vip_instance_attachment + +## Example Usage + +```hcl +resource "tencentcloud_ha_vip_instance_attachment" "ha_vip_instance_attachment" { + instance_id = "eni-xxxxxx" + ha_vip_id = "havip-xxxxxx" + instance_type = "ENI" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `instance_id` - (Required, String, ForceNew) The unique ID of the slave machine or network card to which HaVip is bound. +* `ha_vip_id` - (Optional, String, ForceNew) Unique ID of the HaVip instance. +* `instance_type` - (Optional, String, ForceNew) The type of HaVip binding. Values:CVM, ENI. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `id` - ID of the resource. + + + +## Import + +vpc ha_vip_instance_attachment can be imported using the id(${haVipId}#${instanceType}#${instanceId}), e.g. + +``` +terraform import tencentcloud_ha_vip_instance_attachment.ha_vip_instance_attachment ha_vip_instance_attachment_id +``` + diff --git a/website/tencentcloud.erb b/website/tencentcloud.erb index 375d970737..244e028921 100644 --- a/website/tencentcloud.erb +++ b/website/tencentcloud.erb @@ -6726,6 +6726,9 @@
  • tencentcloud_ha_vip_eip_attachment
  • +
  • + tencentcloud_ha_vip_instance_attachment +
  • tencentcloud_ipv6_address_bandwidth