File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module "document_review_processor_lambda" {
66 module . document_review_queue . sqs_read_policy_document ,
77 module . document_review_queue . sqs_write_policy_document ,
88 module . ndr-document-pending-review-store . s3_write_policy_document ,
9- module . document_review_dynamodb_table . dynamodb_write_policy_document
9+ module . document_review_dynamodb_table [ 0 ] . dynamodb_write_policy_document
1010 ]
1111 kms_deletion_window = var. kms_deletion_window
1212 is_gateway_integration_needed = false
@@ -16,7 +16,7 @@ module "document_review_processor_lambda" {
1616 lambda_timeout = 900
1717 lambda_environment_variables = {
1818 DOCUMENT_REVIEW_BUCKET_NAME = module.ndr- document- pending- review- store.bucket_id
19- DOCUMENT_REVIEW_TABLE_NAME = module.document_review_dynamodb_table.table_name
19+ DOCUMENT_REVIEW_TABLE_NAME = local.is_production ? " " : module.document_review_dynamodb_table[ 0 ] .table_name
2020 WORKSPACE = terraform.workspace
2121 }
2222}
You can’t perform that action at this time.
0 commit comments