Skip to content

Commit

Permalink
add ownership controls
Browse files Browse the repository at this point in the history
  • Loading branch information
richgreen-moj committed Nov 25, 2024
1 parent cbd956f commit cf9d0ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions organisation-security/terraform/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ module "mp_ssm_inventory_resource_data_sync_s3" {
bucket_name = "mp-ssm-inventory-resource-data-sync-${random_integer.suffix.result}"
custom_kms_key = aws_kms_key.mp_ssm_inventory_resource_data_sync.arn
replication_enabled = false
ownership_controls = "BucketOwnerEnforced"
lifecycle_rule = [
{
id = "main"
Expand Down

0 comments on commit cf9d0ff

Please sign in to comment.