Skip to content

Commit

Permalink
fix: set null as a default value
Browse files Browse the repository at this point in the history
  • Loading branch information
kumashun8 committed Apr 28, 2021
1 parent 8b23594 commit 9a0db61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ resource "aws_s3_bucket" "this" {
for_each = length(keys(lookup(server_side_encryption_configuration.value, "rule", {}))) == 0 ? [] : [lookup(server_side_encryption_configuration.value, "rule", {})]

content {
bucket_key_enabled = lookup(rule.value, "bucket_key_enabled", false)
bucket_key_enabled = lookup(rule.value, "bucket_key_enabled", null)

dynamic "apply_server_side_encryption_by_default" {
for_each = length(keys(lookup(rule.value, "apply_server_side_encryption_by_default", {}))) == 0 ? [] : [
Expand Down

0 comments on commit 9a0db61

Please # to comment.