Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions infrastructure/lambda-document-upload-check.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@ module "document_upload_check_lambda" {
module.ndr-bulk-staging-store.s3_read_policy_document,
module.ndr-bulk-staging-store.s3_write_policy_document,
module.ndr-lloyd-george-store.s3_write_policy_document,
module.pdm-document-store.s3_write_policy_document,
aws_iam_policy.ssm_access_policy.policy,
module.lloyd_george_reference_dynamodb_table.dynamodb_read_policy_document,
module.lloyd_george_reference_dynamodb_table.dynamodb_write_policy_document,
module.pdm_dynamodb_table.dynamodb_read_policy_document,
module.pdm_dynamodb_table.dynamodb_write_policy_document,
data.aws_iam_policy.aws_lambda_vpc_access_execution_role.policy
]
kms_deletion_window = var.kms_deletion_window
rest_api_id = null
http_methods = null
api_execution_arn = null
lambda_environment_variables = {
LLOYD_GEORGE_DYNAMODB_NAME = "${terraform.workspace}_${var.lloyd_george_dynamodb_table_name}"
STAGING_STORE_BUCKET_NAME = "${terraform.workspace}-${var.staging_store_bucket_name}"
LLOYD_GEORGE_BUCKET_NAME = "${terraform.workspace}-${var.lloyd_george_bucket_name}"
LLOYD_GEORGE_DYNAMODB_NAME = module.lloyd_george_reference_dynamodb_table.table_name
PDM_DYNAMODB_NAME = module.pdm_dynamodb_table.table_name
STAGING_STORE_BUCKET_NAME = module.ndr-bulk-staging-store.bucket_id
LLOYD_GEORGE_BUCKET_NAME = module.ndr-lloyd-george-store.bucket_id
PDM_BUCKET_NAME = module.pdm-document-store.bucket_id
WORKSPACE = terraform.workspace
VIRUS_SCAN_STUB = !local.is_production

Expand Down