@@ -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