-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Destroying a Target Group fails due to dependency issue #13294
Comments
@random930 this looks to be the same issue as #5699 |
Yes, except it reproduces with an updated version
…On Mon, May 25, 2020, 4:51 PM Steven Swor ***@***.***> wrote:
@random930 <https://github.com/random930> this looks to be the same issue
as #5699
<#5699>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13294 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOL3ATNCVFZO2OGO54XL3ODRTL76ZANCNFSM4M7IRTKQ>
.
|
I hit this recently with 0.13 and it's a little worse than it was in #5699, #636, etc. There's no way to solve this using |
Hey @random930 👋 Thank you for taking the time to submit this issue. Given that there's been a few Terraform and AWS Provider releases since you initially filed it, can you confirm whether you're still running into this? |
I can confirm this is happening on terraform v1.0.5 and v1.07 |
Still an issue I can't get terraform to destroy the
|
In my situation the least bad work-around I could figure out is tainting the associated |
Any news on that? |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
If I make a change to the target_group in the TF file and run a normal "terraform apply", it should have destroyed the listener before the target_group, then rebuilt both, to avoid the error I experirenced.
Actual Behavior
I made a change to a target_group and ran "terraform apply". I got this in return:
(It didn't try to destroy the listener for some reason, even when I added depends-on, which I didn't have originally)
Then, I tried destroying the same resource specifically: "terraform destroy -target=aws_lb_target_group.main"
And that worked:
Steps to Reproduce
See above
The text was updated successfully, but these errors were encountered: