Skip to content

Commit

Permalink
add sse for rds export bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
timburke-hackit committed Oct 16, 2023
1 parent b8647b6 commit c6bd2a0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions terraform/core/10-aws-s3-buckets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -435,3 +435,14 @@ module "rds_export_storage" {
bucket_name = "RDS Export Storage"
bucket_identifier = "rds-export-storage"
}

resource "aws_s3_bucket_server_side_encryption_configuration" "rds_export_storage_encryption" {
bucket = module.rds_export_storage.bucket_id

rule {
apply_server_side_encryption_by_default {
sse_algorithm = "aws:kms"
}
bucket_key_enabled = true
}
}

0 comments on commit c6bd2a0

Please sign in to comment.