-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
When a ELB policy uses Reference-Security-Policy, the policy_attributes change every time #995
Comments
I have the same issue using Terraform v0.9.11 |
Still having this issue, the workaround however sounds great |
Please use something like #1669 (comment) instead, |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
I am experiencing this issue as well (not generally a fan of this sort of comment, but since this is still very much an active bug, I didn't want to get automatically closed). |
Also seeing this issue. Any ideas when this can be resolved? |
This appears to be discussed here, as well: #2867 |
+1 |
+1 terraform v0.14.10 |
This functionality has been released in v3.73.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Terraform Version
0.9.9
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The ELB policy should be created and subsequent plans shouldn't show it changing (unless it actually changed)
Actual Behavior
After applying a plan will show policy attributes that are from the referenced policy being removed. I would think that the
terraform.tfstate
should've known about those as the result of the first apply.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform plan
Workaround
If I uncomment the
lifecycle
section, then it ignores further changes to thepolicy_attribute
s. The downside being that if I actually change them, I have to taint the resource for it to take effect.References
I ran into this issue as part of solution to the problem described in #822
The text was updated successfully, but these errors were encountered: