Skip to content

Commit b8d0a03

Browse files
Add permissions for housing nec transfer bucket (#2381)
* update sftp transfer module to v1.1.0 includes kms attribute outputs * add nec sftp bucket permissions * add key arn
1 parent dcdeddf commit b8d0a03

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

terraform/core/05-departments.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,12 @@ module "department_housing" {
413413
kms_key_arn = module.housing_nec_migration_storage.kms_key_arn
414414
paths = []
415415
actions = ["s3:Get*", "s3:List*", "s3:Put*", "s3:Delete*"]
416+
},
417+
{
418+
bucket_arn = module.file_sync_destination_nec.bucket_arn
419+
kms_key_arn = module.file_sync_destination_nec.key_arn
420+
paths = []
421+
actions = ["s3:Get*", "s3:List*", "s3:Put*", "s3:Delete*"]
416422
}
417423
]
418424
}

terraform/core/70-nec-housing.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "file_sync_destination_nec" {
2-
source = "git::https://github.com/LBHackney-IT/ce-file-sync-modules.git//destination?ref=89c8407aa25eb56cdbd7594dece21563d28e484c" # v1.0.0
2+
source = "git::https://github.com/LBHackney-IT/ce-file-sync-modules.git//destination?ref=f1d2ad6ed999acef41f9126d91cea19d572096cd" # v1.1.0
33
tags = merge(module.tags.values, { "Environment" = lower(var.environment) })
44
application = "nec-housing"
55
environment = var.environment

0 commit comments

Comments
 (0)