Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tencentcloud/resource_tc_postgresql_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ func resourceTencentCloudPostgresqlInstance() *schema.Resource {
Computed: true,
Description: "Port for private access.",
},
"uid": {
Type: schema.TypeInt,
Computed: true,
Description: "Uid of the postgresql instance.",
},
"create_time": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -703,6 +708,7 @@ func resourceTencentCloudPostgresqlInstanceRead(d *schema.ResourceData, meta int
_ = d.Set("status", instance.DBInstanceStatus)
_ = d.Set("memory", instance.DBInstanceMemory)
_ = d.Set("storage", instance.DBInstanceStorage)
_ = d.Set("uid", instance.Uid)

// ignore spec_code
// qcs::postgres:ap-guangzhou:uin/123435236:DBInstanceId/postgres-xxx
Expand Down
1 change: 1 addition & 0 deletions website/docs/r/postgresql_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ In addition to all arguments above, the following attributes are exported:
* `private_access_port` - Port for private access.
* `public_access_host` - Host for public access.
* `public_access_port` - Port for public access.
* `uid` - Uid of the postgresql instance.


## Import
Expand Down