File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed
Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Feature: S3
1313 @exclude_module.file_sync_destination_nec.aws_s3_bucket.log_bucket
1414 @exclude_module.arcus_data_storage.aws_s3_bucket.bucket
1515 @exclude_module.user_uploads.aws_s3_bucket.bucket
16+ @exclude_module.datahub_config.aws_s3_bucket.bucket
1617
1718 # This rule is in place for legacy buckets created with the deprecated block within the aws_s3_bucket resource
1819 Scenario : Data must be encrypted at rest for buckets created using server_side_encryption_configuration property within bucket resource
Original file line number Diff line number Diff line change @@ -165,6 +165,12 @@ module "department_data_and_insight" {
165165 paths = []
166166 actions = [" s3:Get*" , " s3:List*" , ]
167167 },
168+ {
169+ bucket_arn = module.datahub_config.bucket_arn
170+ kms_key_arn = module.datahub_config.kms_key_arn
171+ paths = []
172+ actions = [" s3:Get*" , " s3:List*" , ]
173+ },
168174 ]
169175}
170176
Original file line number Diff line number Diff line change @@ -164,6 +164,21 @@ module "user_uploads" {
164164 include_backup_policy_tags = false
165165}
166166
167+ # ===============================================================================
168+ # DataHub Config Bucket to store the DataHub YAML configuration files
169+ # ===============================================================================
170+
171+ module "datahub_config" {
172+ source = " ../modules/s3-bucket"
173+ tags = module. tags . values
174+ project = var. project
175+ environment = var. environment
176+ identifier_prefix = local. identifier_prefix
177+ bucket_name = " datahub-config"
178+ bucket_identifier = " datahub-config"
179+ include_backup_policy_tags = false
180+ }
181+
167182# ===============================================================================
168183# MWAA Buckets
169184# ===============================================================================
You can’t perform that action at this time.
0 commit comments