-
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 3.75 aws_s3_bucket_server_side_encryption_configuration toggling bucket encryption #23888
Comments
Hi @ceastman-r7 , thank you for raising this issue. For the Hopefully this info helps @ceastman-r7 and if you have any follow-up questions, let us know. |
@anGie44 Looks like that fixed me up. Thank you. add the following to aws_s3_bucket: lifecycle { |
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 CLI and Terraform AWS Provider Version
Terraform v1.0.0
on darwin_amd64
Affected Resource(s)
aws_s3_bucket_server_side_encryption_configuration
Terraform Configuration Files
Expected Behavior
This should enable encryption of the s3 bucket and leave the encryption setting enabled after each terraform apply
Actual Behavior
Each time terraform apply is run the encryption of the bucket is turned off and on
Steps to Reproduce
terraform apply
module.name.aws_s3_bucket_server_side_encryption_configuration.test_configuration will be created
bucket = "s3bucketname"
id = (known after apply)
rule {
}
}
}
terraform apply
module.name.aws_s3_bucket.test_configuration will be updated in-place
~ resource "aws_s3_bucket" "test_configuration" {
id = "s3bucketname"
tags = {}
# (11 unchanged attributes hidden)
The text was updated successfully, but these errors were encountered: