Skip to content

Commit

Permalink
updating bucket to use kms
Browse files Browse the repository at this point in the history
  • Loading branch information
jphillips-fnni committed Oct 13, 2021
1 parent 1c942d0 commit 82024c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ resource "aws_s3_bucket" "terraform-backend" {
server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
sse_algorithm = "AES256"
sse_algorithm = "aws:kms"
kms_master_key_id = aws_kms_key.tf-state-key.id
}
}
}
Expand Down

0 comments on commit 82024c6

Please sign in to comment.