-
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
Terraform shows plan changes when inline security group rules are converted to aws_security_group_rule #5243
Comments
Same cause/effect as issue #6036 |
Thank you for using Terraform and for opening up this question, @pkr1234! Issues on GitHub are intended to be related to bugs or feature requests with the provider codebase. Please use https://discuss.hashicorp.com/c/terraform-providers for community discussions, and questions around Terraform. If you believe that your issue was miscategorized as a question or closed in error, please create a new issue using one of the following provided templates: bug report or feature request. Please make sure to provide us with the appropriate information so we can best determine how to assist with the given issue. |
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! |
This issue was originally opened by @pkr1234 as hashicorp/terraform#18487. It was migrated here as a result of the provider split. The original body of the issue is below.
I have a security group with inline rules. Example:
I was getting terraform cycle error. In order to resolve that, I removed the inline blocks and moved them to aws_security_group_rule like this:
Now I run terraform plan and it shows it will add 2 resources. There should be no changes.
How do I resolve this? I do not want terraform plan to show any changes and I'm importing an existing infrastructure.
The text was updated successfully, but these errors were encountered: