-
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
"terraform refresh" not picking up changes to policy text #3517
Comments
I can confirm this issue, seeing the same thing. |
I can confirm as well. |
In fact, this issue is even worse. If a "terraform apply" of a modified AWS policy fails (e.g. with
Then subsequent "terraform plan" will say "No changes. Infrastructure is up-to-date." even though the infrastructure is decidedly not up-to-date. |
confirm this problem as well |
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 a Terraform-managed policy is modified via Web console, the changes are not picked up on
terraform refresh
so they are not corrected on nextterraform apply
Repro:
terraform plan
thenterraform apply
. The policy should be created.terraform refresh
terraform apply
should change the policy back to the one existing in our .tf file.terraform plan
terraform apply
succeed but the policy in AWS does not match the policy in source.Happy to provide any more information needed.
The text was updated successfully, but these errors were encountered: