Skip to content

Commit 73091e2

Browse files
tongyimingmikatong
and
mikatong
authored
pay_mode not support update (#3293)
Co-authored-by: mikatong <[email protected]>
1 parent 44cf457 commit 73091e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/services/emr/resource_tc_emr_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func resourceTencentCloudEmrClusterUpdate(d *schema.ResourceData, meta interface
317317
logId := tccommon.GetLogId(tccommon.ContextNil)
318318
ctx := context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
319319

320-
immutableFields := []string{"auto_renew", "placement", "placement_info", "display_strategy", "login_settings", "extend_fs_field", "scene_name"}
320+
immutableFields := []string{"auto_renew", "placement", "placement_info", "display_strategy", "login_settings", "extend_fs_field", "scene_name", "pay_mode"}
321321
for _, f := range immutableFields {
322322
if d.HasChange(f) {
323323
return fmt.Errorf("cannot update argument `%s`", f)

0 commit comments

Comments
 (0)