Skip to content

Commit e9e825c

Browse files
authored
fix(eip): [128036826] tencentcloud_eip_association support cdc_id field (#3556)
* add * add
1 parent 22811c0 commit e9e825c

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.changelog/3556.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_eip_association: support `cdc_id` field
3+
```

tencentcloud/services/cvm/resource_tc_eip_association.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ func ResourceTencentCloudEipAssociation() *schema.Resource {
6666
},
6767
Description: "Indicates an IP belongs to the `network_interface_id`. This field is conflict with `instance_id`.",
6868
},
69+
70+
// computed
71+
"cdc_id": {
72+
Type: schema.TypeString,
73+
Computed: true,
74+
Description: "ID of the dedicated cluster.",
75+
},
6976
},
7077
}
7178
}

website/docs/r/eip_association.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ The following arguments are supported:
139139
In addition to all arguments above, the following attributes are exported:
140140

141141
* `id` - ID of the resource.
142-
142+
* `cdc_id` - ID of the dedicated cluster.
143143

144144

145145
## Import

0 commit comments

Comments
 (0)