Skip to content

Commit

Permalink
key-id
Browse files Browse the repository at this point in the history
  • Loading branch information
ashle001 committed Sep 22, 2020
1 parent 2b54983 commit 7b618ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ resource "aws_s3_bucket" "this" {
server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
kms_master_key_id = var.kms_key_id
kms_master_key_id = aws_kms_key.key.key_id
#kms_master_key_id = var.kms_key_id
#kms_master_key_id = "k-kms-", var.bucket_name
sse_algorithm = "aws:kms"
}
}
Expand Down

0 comments on commit 7b618ad

Please sign in to comment.