diff --git a/.changelog/3173.txt b/.changelog/3173.txt new file mode 100644 index 0000000000..6a00de6c2d --- /dev/null +++ b/.changelog/3173.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_tse_cngw_service: modify field properties +``` \ No newline at end of file diff --git a/tencentcloud/services/tse/resource_tc_tse_cngw_service.go b/tencentcloud/services/tse/resource_tc_tse_cngw_service.go index 95fa70bc20..0c25f34e6f 100644 --- a/tencentcloud/services/tse/resource_tc_tse_cngw_service.go +++ b/tencentcloud/services/tse/resource_tc_tse_cngw_service.go @@ -104,6 +104,7 @@ func ResourceTencentCloudTseCngwService() *schema.Resource { "targets": { Type: schema.TypeList, Optional: true, + Computed: true, Description: "provided when service type is IPList.", Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ @@ -143,6 +144,7 @@ func ResourceTencentCloudTseCngwService() *schema.Resource { "source_type": { Type: schema.TypeString, Optional: true, + Computed: true, Description: "source service type.", }, "scf_type": { @@ -204,6 +206,7 @@ func ResourceTencentCloudTseCngwService() *schema.Resource { "real_source_type": { Type: schema.TypeString, Optional: true, + Computed: true, Description: "exact source service type.", }, },