-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
resource/aws_instance: Store sg as ID for default VPC #1911
Conversation
Security group was being stored as name, although vpc_security_group_ids accepts IDs. Due to this, there were mismatches right after applying. This was happening only for default VPC, not a custom VPC. This change enables saving default VPC sgs as IDs, not name.
Hi! We had the same issue and I built the plugin myself with this changes, used it and definitely works! Thank you, I hope this is swiftly merged 😄 |
Any update on this getting merged? |
I don't know why this is not merged yet. @darkowlzz any problems here? |
@klaus993 not that I'm aware of 🤷♀️ |
First of all it's not a fix to #1799 because the main issue is not what is saved in |
Any update? This is annoying. |
Still not merged... since Oct 16, 2017 😢 |
For watchers of #1911 and especially to @darkowlzz for the initial PR, which looks like it was most likely correct from the beginning, we are very sorry this got lost in the shuffle. This likely should have been reviewed and potentially merged long ago. Our apologies on dropping the ball here. We have been working really hard to get the backlog under control and organized the last few weeks (e.g. you will notice a lot more repository labels now available and on every open issue so hopefully people can find related issues easier). @darkowlzz specifically, you are going to notice this specific commit not landing since it did not add any additional testing to cover it, which the maintainers would have noted in an initial review had we been timely. That is my doing so we do not need to delay the fix any more to try and perform rebasing of #2338 and commits I am adding on top on top of this commit. I am really sorry. We really do not want this to be any sort of standard for people contributing to this repository. If there are any enhancements or bug fixes you would like fast tracked, please reach out to me and I will try to make them happen. I will also look through anything else existing of yours right now. After some extensive acceptance testing we believe that #2338 will properly handle the issue here, which will be merged with an additional testing commit from me. This will be released in v1.9.0 of the AWS provider, which currently is planned for next week. |
This has been released in terraform-provider-aws version 1.9.0. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
Now using
but still encountering this bug where the following is required
Otherwise, I always encounter changes for every apply
|
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Security group was being stored as name, although vpc_security_group_ids
accepts IDs. Due to this, there were mismatches right after applying.
This was happening only for default VPC, not a custom VPC.
This change enables saving default VPC sgs as IDs, not name.
fixes #1799