-
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
aws_efs_file_system_policy Document Always Changes With Single Conditions v3.31.0 #18005
Comments
Taking a quick (uninformed) peek, my guess is that this regressed in #17556 where the lists are no longer passed through |
I have a issue that is similar to this one. In my case, i don't add a Resource section within my policy document as it's not required, but when my terraform is applied a Resource is automatically added and every time i apply it again, it try to change and remove the Resource line. |
+1 Same issue here using policy document for iam policy using a single condition value. Using 3.35 |
I am seeing this issue too with
|
This functionality has been released in v3.67.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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.7
AWS v3.28.0+
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
After apply I expect the efs policy document not to try to change the condition on subsequent apply's. The condition block requires an array of strings and the policy document includes the brackets on this condition. After apply AWS removes the brackets however the policy document adds them resulting in parity thus terraform always wants to change the policy.
Actual Behavior
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
This was introduced in v3.28.0. v3.27.0 works as expected.
References
This was brought up in the referenced ticked, but was not linked to EFS Policy documents. IAM policy documents work as expected.
The text was updated successfully, but these errors were encountered: