Skip to content

Commit 9ed0ee5

Browse files
CCM-9492: Add download s3 bucket (#455)
1 parent 744f1ea commit 9ed0ee5

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
locals {
22
root_domain_name = "${var.environment}.${local.app.amplify["domain_name"]}"
3-
normalised_branch_name = trimsuffix(lower(substr(join("", regexall("[a-zA-Z0-9-]+", var.branch_name)), 0, 25)),"-")
3+
normalised_branch_name = trimsuffix(lower(substr(join("", regexall("[a-zA-Z0-9-]+", var.branch_name)), 0, 25)), "-")
44
}

infrastructure/terraform/modules/backend-api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ No requirements.
4848
| <a name="module_lambda_validate_letter_template_files"></a> [lambda\_validate\_letter\_template\_files](#module\_lambda\_validate\_letter\_template\_files) | ../lambda-function | n/a |
4949
| <a name="module_list_template_lambda"></a> [list\_template\_lambda](#module\_list\_template\_lambda) | ../lambda-function | n/a |
5050
| <a name="module_request_proof_lambda"></a> [request\_proof\_lambda](#module\_request\_proof\_lambda) | ../lambda-function | n/a |
51+
| <a name="module_s3bucket_download"></a> [s3bucket\_download](#module\_s3bucket\_download) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket | v2.0.2 |
5152
| <a name="module_s3bucket_internal"></a> [s3bucket\_internal](#module\_s3bucket\_internal) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket | v1.0.8 |
5253
| <a name="module_s3bucket_quarantine"></a> [s3bucket\_quarantine](#module\_s3bucket\_quarantine) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket | v1.0.8 |
5354
| <a name="module_sqs_process_proof_dlq"></a> [sqs\_process\_proof\_dlq](#module\_sqs\_process\_proof\_dlq) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/sqs | v2.0.1 |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module "s3bucket_download" {
2+
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket?ref=v2.0.2"
3+
4+
name = "download"
5+
6+
aws_account_id = var.aws_account_id
7+
region = var.region
8+
project = var.project
9+
environment = var.environment
10+
component = var.component
11+
12+
kms_key_arn = var.kms_key_arn
13+
14+
// source_policy_documents variable to be added here to manage bucket access
15+
// once we have the cloudfront distribution
16+
}

0 commit comments

Comments
 (0)