diff --git a/.changelog/2247.txt b/.changelog/2247.txt new file mode 100644 index 0000000000..e7bcf148db --- /dev/null +++ b/.changelog/2247.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +tencentcloud_cam_service_linked_role: Set `custom_suffix` computed +``` \ No newline at end of file diff --git a/tencentcloud/resource_tc_cam_service_linked_role.go b/tencentcloud/resource_tc_cam_service_linked_role.go index 46f7e1c6e1..96c478528f 100644 --- a/tencentcloud/resource_tc_cam_service_linked_role.go +++ b/tencentcloud/resource_tc_cam_service_linked_role.go @@ -49,6 +49,7 @@ func resourceTencentCloudCamServiceLinkedRole() *schema.Resource { Type: schema.TypeString, Optional: true, ForceNew: true, + Computed: true, Description: "The custom suffix, based on the string you provide, is combined with the prefix provided by the service to form the full role name. This field is not allowed to contain the character `_`.", },