Skip to content

Commit 8e3846b

Browse files
tongyimingmikatong
and
mikatong
authored
Updates are prohibited (#2698)
Co-authored-by: mikatong <[email protected]>
1 parent a401d48 commit 8e3846b

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
@@ -214,7 +214,7 @@ func resourceTencentCloudEmrClusterUpdate(d *schema.ResourceData, meta interface
214214
logId := tccommon.GetLogId(tccommon.ContextNil)
215215
ctx := context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
216216

217-
immutableFields := []string{"placement", "placement_info", "display_strategy", "login_settings"}
217+
immutableFields := []string{"placement", "placement_info", "display_strategy", "login_settings", "resource_spec.0.master_count", "resource_spec.0.task_count", "resource_spec.0.core_count"}
218218
for _, f := range immutableFields {
219219
if d.HasChange(f) {
220220
return fmt.Errorf("cannot update argument `%s`", f)

0 commit comments

Comments
 (0)