-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
provider/aws: Elastic Beanstalk Application Version #7407
provider/aws: Elastic Beanstalk Application Version #7407
Conversation
For `terraform destroy`, we currently build up the same graph we do for `plan` and `apply` and we do a walk with a special Diff that says "destroy everything". We have fought the interpolation subsystem time and again through this code path. Beginning in hashicorp#2775 we gained a new feature to selectively prune out problematic graph nodes. The past chain of destroy fixes I have been involved with (hashicorp#6557, hashicorp#6599, hashicorp#6753) have attempted to massage the "noop" definitions to properly handle the edge cases reported. "Variable is depended on by provider config" is another edge case we add here and try to fix. This dive only makes me more convinced that the whole `terraform destroy` code path needs to be reworked. For now, I went with a "surgical strike" approach to the problem expressed in hashicorp#7047. I found a couple of issues with the existing Noop and DestroyEdgeInclude logic, especially with regards to flattening, but I'm explicitly ignoring these for now so we can get this particular bug fixed ahead of the 0.7 release. My hope is that we can circle around with a fully specced initiative to refactor `terraform destroy`'s graph to be more state-derived than config-derived. Until then, this fixes hashicorp#7407
I have rebased and run the acceptance tests successfully:
|
@dharrisio / @djlestephane Can you folks please let me know about this one? Do we use this and close off #5770? If so, please can this be rebased Thanks Paul |
@stack72 I don't think this is quite ready to be merged. There are still a few pieces outlined in #5770 that make me uncomfortable with the changes. For now, I'm going to update #5770 as a WIP, because I think that is probably more representative of the work that as been done so far on that PR. I do have some plans for using the application version without a new resource. This should at least help some use cases with Elastic Beanstalk. I'm planning on getting that done soon, as well as working on some of the issues in #5770. I should have more on that this week. Hope this clears up the current status of this for you! |
@stack72 I've rebased #7407 in the meantime. I'm new at this so if that is On Mon, Jul 18, 2016 at 7:18 PM, David Harris notifications@github.com
|
+1 |
Closed via #5770 |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
No description provided.