-
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
Unable to rename SecurityGroup in OpenStack #12912
Comments
@michalmedvecky Thanks for reporting this. It looks like updating the name of a security group is possible to do without recreation. Requiring the group to be recreated was most likely done because Gophercloud doesn't yet have support for group updates. I think the best long-term solution is to get that added. I'll work on this shortly. |
Quick update: I have a patch into Gophercloud to add this support. Once it's merged, I'll get this into Terraform right away. |
Closed via #14815 |
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. |
TF is unable to rename security group, which is in use by another object (resource, vip, ...)
Terraform Version
Terraform v0.9.0-dev (89acb58+CHANGES)
Affected Resource(s)
Terraform Configuration Files
sgrenametest.tf
:Debug Output
https://gist.github.com/michalmedvecky/8cd9248b60102b0aac0df0137c3013e8
Expected Behavior
Security group name should be changed
Actual Behavior
Terraform fails
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
name
on line2 from1234
to12345
terraform apply
Important Factoids
Terraform correctly removes all security group rules tight to the SG, but does not remove it from the VIP. Then tries to delete SG what fails, because it's "in use".
The text was updated successfully, but these errors were encountered: