AWS EMR: Changes to EC2 instance attributes are not applied properly #4217
Labels
bug
Addresses a defect in current functionality.
service/emr
Issues and PRs that pertain to the emr service.
Milestone
Terraform Version
Terraform 0.11.7 and earlier
AWS provider 1.14.1 and earlier
Affected Resource(s)
Terraform Configuration Files
Initial config:
Modified config: change only the value of
instance_profile
Expected Behavior
Changes to any of the EC2 attributes must destroy the current cluster and create a new one.
Actual Behavior
Terraform reports the current cluster will be updated and report success doing so. Running the plan after
apply
will still report the resource changes.Steps to Reproduce
aws_emr_cluster
resourceterraform plan
will report the creation of the new clusterterraform apply
will create the clusterinstance_profile
terraform plan
will report the cluster has changed and that it'll be updatedterraform apply
will report the cluster has been changedterraform plan
will still report the previous changeThe text was updated successfully, but these errors were encountered: