Skip to content

Commit e9a4e72

Browse files
committed
fix: modify field properties
1 parent 9216eab commit e9a4e72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tencentcloud/services/tse/resource_tc_tse_cngw_service.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func ResourceTencentCloudTseCngwService() *schema.Resource {
104104
"targets": {
105105
Type: schema.TypeList,
106106
Optional: true,
107+
Computed: true,
107108
Description: "provided when service type is IPList.",
108109
Elem: &schema.Resource{
109110
Schema: map[string]*schema.Schema{
@@ -143,6 +144,7 @@ func ResourceTencentCloudTseCngwService() *schema.Resource {
143144
"source_type": {
144145
Type: schema.TypeString,
145146
Optional: true,
147+
Computed: true,
146148
Description: "source service type.",
147149
},
148150
"scf_type": {
@@ -204,6 +206,7 @@ func ResourceTencentCloudTseCngwService() *schema.Resource {
204206
"real_source_type": {
205207
Type: schema.TypeString,
206208
Optional: true,
209+
Computed: true,
207210
Description: "exact source service type.",
208211
},
209212
},

0 commit comments

Comments
 (0)