Skip to content

Commit

Permalink
Fix kms_master_key_id to conform with terraform resource (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksii-borodai authored and antonbabenko committed Jan 7, 2020
1 parent f1e3c3d commit 39ffb41
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 @@ -186,7 +186,7 @@ resource "aws_s3_bucket" "this" {

content {
sse_algorithm = apply_server_side_encryption_by_default.value.sse_algorithm
kms_master_key_id = apply_server_side_encryption_by_default.value.kms_master_key_id
kms_master_key_id = lookup(apply_server_side_encryption_by_default.value, "kms_master_key_id", null)
}
}
}
Expand Down

0 comments on commit 39ffb41

Please # to comment.