Skip to content

Commit 2019957

Browse files
authored
feat(cdwch): [126884790] add access info (#3503)
* add access info * add access info
1 parent 56b3866 commit 2019957

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.changelog/3503.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_clickhouse_instance: add field `access_info`
3+
```

tencentcloud/services/cdwch/resource_tc_clickhouse_instance.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ func ResourceTencentCloudClickhouseInstance() *schema.Resource {
191191
Computed: true,
192192
Description: "Expire time.",
193193
},
194+
"access_info": {
195+
Type: schema.TypeString,
196+
Computed: true,
197+
Description: "access address info.",
198+
},
194199
},
195200
}
196201
}
@@ -412,6 +417,7 @@ func resourceTencentCloudClickhouseInstanceRead(d *schema.ResourceData, meta int
412417
}
413418

414419
_ = d.Set("expire_time", instanceInfo.ExpireTime)
420+
_ = d.Set("access_info", instanceInfo.AccessInfo)
415421
_ = d.Set("cos_bucket_name", instanceInfo.CosBucketName)
416422
_ = d.Set("mount_disk_type", instanceInfo.MountDiskType)
417423
_ = d.Set("ha_zk", instanceInfo.HAZk)

website/docs/r/clickhouse_instance.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ The `secondary_zone_info` object supports the following:
172172
In addition to all arguments above, the following attributes are exported:
173173

174174
* `id` - ID of the resource.
175+
* `access_info` - access address info.
175176
* `expire_time` - Expire time.
176177

177178

0 commit comments

Comments
 (0)