Skip to content

Commit 6ddedd6

Browse files
[PRMP-1090] Update Review Status lambda infra to use correct env vars (#540)
1 parent 14f55b5 commit 6ddedd6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

infrastructure/lambda-review-document-status.tf

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ module "review-document-status-check-lambda" {
1313
http_methods = ["GET"]
1414
api_execution_arn = aws_api_gateway_rest_api.ndr_doc_store_api.execution_arn
1515
lambda_environment_variables = {
16-
APPCONFIG_APPLICATION = module.ndr-app-config.app_config_application_id
17-
APPCONFIG_ENVIRONMENT = module.ndr-app-config.app_config_environment_id
18-
APPCONFIG_CONFIGURATION = module.ndr-app-config.app_config_configuration_profile_id
19-
DOCUMENT_REVIEW_DYNAMODB_NAME = module.document_upload_review_dynamodb_table.table_name
20-
DOCUMENT_REVIEW_S3_BUCKET_NAME = module.ndr-document-pending-review-store.bucket_id
21-
WORKSPACE = terraform.workspace
16+
APPCONFIG_APPLICATION = module.ndr-app-config.app_config_application_id
17+
APPCONFIG_ENVIRONMENT = module.ndr-app-config.app_config_environment_id
18+
APPCONFIG_CONFIGURATION = module.ndr-app-config.app_config_configuration_profile_id
19+
DOCUMENT_REVIEW_DYNAMODB_NAME = module.document_upload_review_dynamodb_table.table_name
20+
WORKSPACE = terraform.workspace
2221
}
2322

2423
depends_on = [

0 commit comments

Comments
 (0)