-
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
openstack Security Groups can't be revisited #4379
Comments
Hi there, Thanks for reporting this. I think in this case, the bug is caused by having both
Let me know if this makes sense, if you're seeing different behavior, or if you're trying to do something that should work but is not working. Per the documentation, self should be taking precedence, but it looks like that slipped at some point. I'll look into this and add some extra guards to error out before anything is actually created in this situation. Thanks, |
Thanks Joe!! That was the problem. I had an invalid security group rules, but didn't know it until this bug was tickled. Thanks Again, |
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. |
My main.tf created a single openstack security group with a single rule.
but when I do the sequence:
terraform destroy
terraform refresh
— show emptyterraform plan
— show the expected additionterraform apply
— SUCCESS!!! shows the expected additionsterraform refresh
— show the single resource — YEA!!!terraform plan
— show that it wants to change the resource and the only rule — _HUH??_terraform apply
— FAILS errors with “security group rule already exist” when adding a ruleMy main.tf:
Looking at the openstack web console, the group it's there after a delete and is after the first apply.
Detail info:
Terraform v0.6.8
installed on MacOS via brew (used to work on 0.6.3)The text was updated successfully, but these errors were encountered: