Skip to content

Commit 996da26

Browse files
Update infrastructure/terraform/components/dl/locals.tf
Updating how unscanned_files_bucket is referenced due to it being a remote state bucket. Co-authored-by: Aiden Vaines <54067008+aidenvaines-cgi@users.noreply.github.com>
1 parent d177aec commit 996da26

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • infrastructure/terraform/components/dl

infrastructure/terraform/components/dl/locals.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ locals {
55
apim_api_key_ssm_parameter_name = "/${var.component}/${var.environment}/apim/api_key"
66
apim_private_key_ssm_parameter_name = "/${var.component}/${var.environment}/apim/private_key"
77
apim_keystore_s3_bucket = "nhs-${var.aws_account_id}-${var.region}-${var.environment}-${var.component}-static-assets"
8-
unscanned_files_bucket = "nhs-${var.aws_account_id}-${var.region}-main-acct-digi-unscanned-files"
8+
unscanned_files_bucket = local.acct.additional_s3_buckets["digital-letters_unscanned-files"]["id"]
9+
"nhs-${var.aws_account_id}-${var.region}-main-acct-digi-unscanned-files"
910
ssm_mesh_prefix = "/${var.component}/${var.environment}/mesh"
1011
mock_mesh_endpoint = "s3://${module.s3bucket_non_pii_data.bucket}/mock-mesh"
1112
root_domain_name = "${var.environment}.${local.acct.route53_zone_names["digital-letters"]}"

0 commit comments

Comments
 (0)