Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue-4217] AWS EMR: Force new resource if any of the EC2 attributes has changed #4218

Merged
merged 1 commit into from
Apr 17, 2018

Conversation

ddcprg
Copy link
Contributor

@ddcprg ddcprg commented Apr 16, 2018

Fixes #4217

I'm not sure whether the behaviour of the ForceNew attribute has changed in Terraform. The attribute ec2_attributes already forces new resource so any changes in the children you be cascaded up to the parent attribute therefore trigger new resource creation. I've have configured the attribute for each child property for now.

@ghost ghost added the size/XS Managed by automation to categorize the size of a PR. label Apr 16, 2018
@ddcprg ddcprg changed the title [issue-4217] Force new resource if any of the EC2 attributes has changed [issue-4217] AWS EMR: Force new resource if any of the EC2 attributes has changed Apr 16, 2018
@bflad bflad added service/emr Issues and PRs that pertain to the emr service. bug Addresses a defect in current functionality. labels Apr 17, 2018
@bflad bflad added this to the v1.15.0 milestone Apr 17, 2018
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- thanks! 🚀

Test failure unrelated:

=== RUN   TestAccAWSEMRCluster_basic
--- PASS: TestAccAWSEMRCluster_basic (463.00s)
=== RUN   TestAccAWSEMRCluster_Kerberos_ClusterDedicatedKdc
--- PASS: TestAccAWSEMRCluster_Kerberos_ClusterDedicatedKdc (530.86s)
=== RUN   TestAccAWSEMRCluster_terminationProtected
--- PASS: TestAccAWSEMRCluster_terminationProtected (561.61s)
=== RUN   TestAccAWSEMRCluster_instance_group
--- PASS: TestAccAWSEMRCluster_instance_group (589.61s)
=== RUN   TestAccAWSEMRCluster_security_config
--- PASS: TestAccAWSEMRCluster_security_config (595.67s)
=== RUN   TestAccAWSEMRCluster_Step_Basic
--- PASS: TestAccAWSEMRCluster_Step_Basic (618.89s)
=== RUN   TestAccAWSEMRCluster_s3Logging
--- PASS: TestAccAWSEMRCluster_s3Logging (627.19s)
=== RUN   TestAccAWSEMRCluster_Step_Multiple
--- PASS: TestAccAWSEMRCluster_Step_Multiple (630.78s)
=== RUN   TestAccAWSEMRCluster_custom_ami_id
--- PASS: TestAccAWSEMRCluster_custom_ami_id (649.10s)
=== RUN   TestAccAWSEMRCluster_tags
--- FAIL: TestAccAWSEMRCluster_tags (711.89s)
=== RUN   TestAccAWSEMRCluster_bootstrap_ordering
--- PASS: TestAccAWSEMRCluster_bootstrap_ordering (721.76s)
=== RUN   TestAccAWSEMRCluster_visibleToAllUsers
--- PASS: TestAccAWSEMRCluster_visibleToAllUsers (840.75s)
=== RUN   TestAccAWSEMRCluster_root_volume_size
--- PASS: TestAccAWSEMRCluster_root_volume_size (991.24s)

@bflad bflad merged commit 0dd6dff into hashicorp:master Apr 17, 2018
bflad added a commit that referenced this pull request Apr 17, 2018
@ddcprg
Copy link
Contributor Author

ddcprg commented Apr 18, 2018

Cool! Thank you

@ddcprg ddcprg deleted the issue-4217 branch April 18, 2018 07:45
@bflad
Copy link
Contributor

bflad commented Apr 18, 2018

This has been released in version 1.15.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 6, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/emr Issues and PRs that pertain to the emr service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS EMR: Changes to EC2 instance attributes are not applied properly
2 participants