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

[#133036569] Fix TF destroy for Metrics ELB. #656

Merged
merged 1 commit into from Dec 12, 2016

Conversation

alext
Copy link
Contributor

@alext alext commented Dec 9, 2016

What

The destroy failed because both listeners were referencing the same policy.
Destroying the first resource failed because it attempted to delete the
policy as well as the attachment, but the policy was still in use by the
other listener.

Using a policy per listener avoids this conflict.

How to review

Deploy from this branch as far as cf-terraform. Run the destroy-cloudfoundry pipeline, and verify it succeeds.

Who can review

Anyone but myself.

This failed because both listeners were referencing the same policy.
Destroying the first resource failed because it attempted to delete the
policy as well as the attachment, but the policy was still in use by the
other listener.

Using a policy per listener avoids this conflict.
@benhyland benhyland self-assigned this Dec 12, 2016
@benhyland
Copy link

Can't really argue with this, lgtm

@benhyland benhyland merged commit ad0fdaa into master Dec 12, 2016
benhyland pushed a commit that referenced this pull request Dec 12, 2016
[#133036569] Fix TF destroy for Metrics ELB.
@benhyland benhyland deleted the fix_elb_policy_destroy branch December 12, 2016 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants