-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
AWS Provider in 0.5.3- Can not taint aws_security_group_rule #2291
Labels
Comments
The other, potentially related, issue: #2294 |
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. |
ghost
locked and limited conversation to collaborators
May 2, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
First of all, Terraform is magnificent! I use it daily and just love it so much, thanks a ton for all of your hard work.
I have found at least two issues with the
aws_security_group_rule
resource that I didn't see anyone else had reported, so please forgive me if my searching ability isn't great. I will report the other one in another issue, since I'm not sure they are related.I hope this is not too verbose!
File structure and contents
tree
main.tf
terraform.tfvars
Terraform version
Tested with both:
Problem
After creating the VPC with the security group, then assigning a rule, you can not taint that rule (which will cause a destroy and a re-create). As far as real world usage goes, I'm not sure the purpose as to why anyone would actually do it, but in tracking down another problem, I ran into this.
Commands ran and statefiles
Plan
Apply
Statefile, after first apply
Taint
Statefile diff, after taint
Plan, after taint
Apply, after taint
That's pretty much it, you can't taint an aws_security_group_rule. Not sure if that is intentional or not.
I'll comment on here with a link to the other issue I create after I create it.
The text was updated successfully, but these errors were encountered: