Skip to content

Commit da01700

Browse files
committed
add
1 parent 45358c5 commit da01700

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tencentcloud/services/dlc/resource_tc_dlc_standard_engine_resource_group_config_info.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func ResourceTencentCloudDlcStandardEngineResourceGroupConfigInfo() *schema.Reso
3333
"static_conf_context": {
3434
Type: schema.TypeList,
3535
Optional: true,
36+
Computed: true,
3637
MaxItems: 1,
3738
Description: "Static config context.",
3839
Elem: &schema.Resource{
@@ -63,6 +64,7 @@ func ResourceTencentCloudDlcStandardEngineResourceGroupConfigInfo() *schema.Reso
6364
"dynamic_conf_context": {
6465
Type: schema.TypeList,
6566
Optional: true,
67+
Computed: true,
6668
MaxItems: 1,
6769
Description: "Dynamic config context.",
6870
Elem: &schema.Resource{
@@ -312,7 +314,7 @@ func resourceTencentCloudDlcStandardEngineResourceGroupConfigInfoUpdate(d *schem
312314
)
313315

314316
if d.HasChange("static_conf_context") {
315-
oldInterface, newInterface := d.GetChange("static_conf_context")
317+
oldInterface, newInterface := d.GetChange("static_conf_context.0.params")
316318
olds := oldInterface.(*schema.Set)
317319
news := newInterface.(*schema.Set)
318320
remove := olds.Difference(news).List()
@@ -496,7 +498,7 @@ func resourceTencentCloudDlcStandardEngineResourceGroupConfigInfoUpdate(d *schem
496498
}
497499

498500
if d.HasChange("dynamic_conf_context") {
499-
oldInterface, newInterface := d.GetChange("dynamic_conf_context")
501+
oldInterface, newInterface := d.GetChange("dynamic_conf_context.0.params")
500502
olds := oldInterface.(*schema.Set)
501503
news := newInterface.(*schema.Set)
502504
remove := olds.Difference(news).List()

0 commit comments

Comments
 (0)