Commit 895cfa52 authored by Jay Bendon's avatar Jay Bendon Committed by GitHub

fix: Add lifecycle ignore changes on s3_bucket resource to prevent configuration loop (#145)

parent 1ae31acf
......@@ -28,6 +28,23 @@ resource "aws_s3_bucket" "this" {
object_lock_enabled = "Enabled"
}
}
lifecycle {
ignore_changes = [
acceleration_status,
acl,
grant,
cors_rule,
lifecycle_rule,
logging,
object_lock_configuration[0].rule,
replication_configuration,
request_payer,
server_side_encryption_configuration,
versioning,
website
]
}
}
resource "aws_s3_bucket_logging" "this" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment