Skip to content

Commit

Permalink
Encrypt standard export bucket with KMS key
Browse files Browse the repository at this point in the history
  • Loading branch information
TomJKing committed Oct 12, 2023
1 parent 88522f1 commit d2c3e59
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion da-terraform-modules
12 changes: 8 additions & 4 deletions root.tf
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,14 @@ module "export_step_function" {
}

module "export_bucket" {
source = "./tdr-terraform-modules/s3"
project = var.project
function = "consignment-export"
common_tags = local.common_tags
source = "./tdr-terraform-modules/s3"
project = var.project
function = "consignment-export"
common_tags = local.common_tags
kms_key_id = local.s3_encryption_key_arn
bucket_key_enabled = local.bucket_key_enabled
tre_role_arn = local.tre_export_role_arn
bucket_policy = "export_bucket"
}

module "export_bucket_judgment" {
Expand Down

0 comments on commit d2c3e59

Please sign in to comment.