-
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
Can't create a security group with lifecycle ignore_changes #3566
Comments
I'm able to reproduce the diffs didn't match error with 0.6.4, but not with 0.6.3. 0.6.3 applies successfully. For easy reproducibility:
I'll defer to someone else if |
We have a similar diffs didn't match error on 0.6.4-0.6.6 that we didn't see with 0.6.3. Removing
Hope that helps! |
I think this issue is broader than just security groups but is specific to Here's an aws instance example that fails with the same
|
I'm running into the same issues with autoscaling groups. If we try to ignore |
same issue with resource "aws_eip" "default" { and resource "aws_route_table" "private" { on Terraform v0.6.9-dev (86882e3+CHANGES) |
It seems that resources which uses ignore_changes needs to be created without it first, |
@engine07 not working here, resources were created long before |
ignore_changes seems horribly broken :( Just ran into this issue with auto scaling groups. |
Hey folks, rolling up |
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. |
If you try to create a security_group with lifecycle ignore_changes you get diffs don't match during apply. I may be misusing the feature, but in that case the docs should be updated to reflect that you have to add the lifecycle policy after creation.
Output:
The text was updated successfully, but these errors were encountered: