Skip to content

Commit 062ea7e

Browse files
committed
[PRMP-1580] Add PDS_FHIR_IS_STUBBED variable to Lambda configurations
Signed-off-by: NogaNHS <127490765+NogaNHS@users.noreply.github.com>
1 parent 941e660 commit 062ea7e

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

infrastructure/lambda-create-user-restriction.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module "create_user_restriction_lambda" {
2020
WORKSPACE = terraform.workspace
2121
RESTRICTIONS_TABLE_NAME = module.user_restriction_table.table_name
2222
HEALTHCARE_WORKER_API_URL = local.is_sandbox ? "" : data.aws_ssm_parameter.healthcare_worker_api_base_url.value
23+
PDS_FHIR_IS_STUBBED = local.is_sandbox
2324
}
2425

2526
depends_on = [

infrastructure/lambda-search-patient.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module "search-patient-details-lambda" {
7171
APPCONFIG_ENVIRONMENT = module.ndr-app-config.app_config_environment_id
7272
APPCONFIG_CONFIGURATION = module.ndr-app-config.app_config_configuration_profile_id
7373
SSM_PARAM_JWT_TOKEN_PUBLIC_KEY = "jwt_token_public_key"
74-
PDS_FHIR_IS_STUBBED = local.is_sandbox,
74+
PDS_FHIR_IS_STUBBED = local.is_sandbox
7575
WORKSPACE = terraform.workspace
7676
AUTH_SESSION_TABLE_NAME = "${terraform.workspace}_${var.auth_session_dynamodb_table_name}"
7777
RESTRICTIONS_TABLE_NAME = module.user_restriction_table.table_name

infrastructure/lambda-search-user-restriction.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module "search_user_restriction_lambda" {
1919
WORKSPACE = terraform.workspace
2020
RESTRICTIONS_TABLE_NAME = module.user_restriction_table.table_name
2121
HEALTHCARE_WORKER_API_URL = data.aws_ssm_parameter.healthcare_worker_api_base_url.value
22+
PDS_FHIR_IS_STUBBED = local.is_sandbox
2223
}
2324

2425
depends_on = [

0 commit comments

Comments
 (0)