diff --git a/infrastructure/lambda-search-user-restriction.tf b/infrastructure/lambda-search-user-restriction.tf index 742e7003..e554df08 100644 --- a/infrastructure/lambda-search-user-restriction.tf +++ b/infrastructure/lambda-search-user-restriction.tf @@ -13,11 +13,12 @@ module "search_user_restriction_lambda" { http_methods = ["GET"] api_execution_arn = aws_api_gateway_rest_api.ndr_doc_store_api.execution_arn lambda_environment_variables = { - APPCONFIG_APPLICATION = module.ndr-app-config.app_config_application_id - APPCONFIG_ENVIRONMENT = module.ndr-app-config.app_config_environment_id - APPCONFIG_CONFIGURATION = module.ndr-app-config.app_config_configuration_profile_id - WORKSPACE = terraform.workspace - RESTRICTIONS_TABLE_NAME = module.user_restriction_table.table_name + APPCONFIG_APPLICATION = module.ndr-app-config.app_config_application_id + APPCONFIG_ENVIRONMENT = module.ndr-app-config.app_config_environment_id + APPCONFIG_CONFIGURATION = module.ndr-app-config.app_config_configuration_profile_id + WORKSPACE = terraform.workspace + RESTRICTIONS_TABLE_NAME = module.user_restriction_table.table_name + HEALTHCARE_WORKER_API_URL = data.aws_ssm_parameter.healthcare_worker_api_base_url.value } depends_on = [