Skip to content

Commit 61cb263

Browse files
committed
[PRMP-1601] add changes using new table
1 parent 5731336 commit 61cb263

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

infrastructure/lambda-access-audit.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ module "access-audit-lambda" {
7070
module.ndr-app-config.app_config_policy,
7171
module.auth_session_dynamodb_table.dynamodb_write_policy_document,
7272
module.auth_session_dynamodb_table.dynamodb_read_policy_document,
73+
module.access_audit_dynamodb_table.dynamodb_write_without_update_policy_document
7374
]
7475
rest_api_id = aws_api_gateway_rest_api.ndr_doc_store_api.id
7576
resource_id = module.access-audit-gateway.gateway_resource_id
@@ -83,7 +84,7 @@ module "access-audit-lambda" {
8384
APPCONFIG_CONFIGURATION = module.ndr-app-config.app_config_configuration_profile_id
8485
WORKSPACE = terraform.workspace
8586
AUTH_SESSION_TABLE_NAME = "${terraform.workspace}_${var.auth_session_dynamodb_table_name}"
86-
ACCESS_AUDIT_TABLE_NAME = "placeholder"
87+
ACCESS_AUDIT_TABLE_NAME = "${terraform.workspace}_${var.access_audit_dynamodb_table_name}"
8788
}
8889
depends_on = [
8990
aws_api_gateway_rest_api.ndr_doc_store_api,

0 commit comments

Comments
 (0)