Skip to content

Commit 66f916b

Browse files
committed
Resolved cooment
1 parent 1825f36 commit 66f916b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/endpoints.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ locals {
2323
imms_table_name = aws_dynamodb_table.events-dynamodb-table.name
2424
imms_lambda_env_vars = {
2525
"DYNAMODB_TABLE_NAME" = local.imms_table_name,
26-
"IMMUNIZATION_ENV" = var.sub_environment,
26+
"IMMUNIZATION_ENV" = local.resource_scope,
2727
"IMMUNIZATION_BASE_PATH" = strcontains(var.sub_environment, "pr-") ? "immunisation-fhir-api-${var.sub_environment}" : "immunisation-fhir-api"
2828
# except for prod and ref, any other env uses PDS int environment
2929
"PDS_ENV" = var.pds_environment

0 commit comments

Comments
 (0)