Skip to content

Commit

Permalink
feat: Add s3 server side encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
clburlison committed Dec 17, 2021
1 parent 0ba2962 commit 1d47849
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions s3_bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ resource "aws_s3_bucket" "munki-bucket" {
prevent_destroy = false
}

server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
sse_algorithm = "aws:kms"
}
}
}

tags = merge(
var.tags,
{
Expand Down

0 comments on commit 1d47849

Please sign in to comment.