Skip to content

Commit

Permalink
ignore changes to bucket_key_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 14, 2023
1 parent ae438ca commit 8aafbb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "this" {
}
bucket_key_enabled = var.bucket_key_enabled
}
lifecycle {
ignore_changes = [rule.bucket_key_enabled]
}
}

#---
Expand Down

0 comments on commit 8aafbb5

Please sign in to comment.