mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
aws-emr-cluster: Assign correct number of core instances (n-1) on update (#10529)
This commit is contained in:
parent
638727c005
commit
08da905374
@ -398,7 +398,7 @@ func resourceAwsEMRClusterUpdate(d *schema.ResourceData, meta interface{}) error
|
||||
InstanceGroups: []*emr.InstanceGroupModifyConfig{
|
||||
{
|
||||
InstanceGroupId: coreGroup.Id,
|
||||
InstanceCount: aws.Int64(int64(coreInstanceCount)),
|
||||
InstanceCount: aws.Int64(int64(coreInstanceCount) - 1),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user