-
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
persistent diff with grants and aws_s3_bucket_acl #23790
Comments
Hi @mheiges thank you for reporting an issue. This sounds similar to behavior reported in #23758. Similar comment here in that when using these new resources, practitioners should add a Hope this helps! And if you're facing any additional issues, let us know. |
awesome. Thanks! |
I see same behavior with aws_s3_bucket_server_side_encryption_configuration and aws_s3_bucket_lifecycle_configuration. |
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
Affected Resource(s)
aws_s3_bucket_acl
Terraform Configuration Files
An S3 bucket is created using the legacy configuration with
grant
as attribute of `aws_s3_bucket,The
grant
s are then migrated to the newaws_s3_bucket_acl
Expected Behavior
Applying new configuration should create the new
aws_s3_bucket_acl
resource and removegrant
s fromaws_s3_bucket
and there should be no further changes after that.Actual Behavior
The
aws_s3_bucket_acl
resource is created andgrant
removed from theaws_s3_bucket
resource, but subsequent apply continue to show changes toaws_s3_bucket_acl
andaws_s3_bucket
resources.Steps to Reproduce
aws_s3_bucket_acl
andterraform apply
First apply
Second Apply
Third apply
and so on. The state never stabilizes.
The text was updated successfully, but these errors were encountered: