Skip to content

Commit 8e3280c

Browse files
authored
fix(tse): [122175286] modify field properties (#3173)
* fix: modify field properties * 'feat: add changelog
1 parent bf8faaa commit 8e3280c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changelog/3173.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_tse_cngw_service: modify field properties
3+
```

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)