File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ module "mns-notification-lambda" {
88 module . sqs-mns-notification-queue [0 ]. sqs_write_policy_document ,
99 module . lloyd_george_reference_dynamodb_table . dynamodb_write_policy_document ,
1010 module . lloyd_george_reference_dynamodb_table . dynamodb_read_policy_document ,
11- local . is_production ? null : module . document_review_dynamodb_table [0 ]. dynamodb_write_policy_document ,
12- local . is_production ? null : module . document_review_dynamodb_table [0 ]. dynamodb_read_policy_document ,
11+ local . is_production ? " " : module . document_review_dynamodb_table [0 ]. dynamodb_write_policy_document ,
12+ local . is_production ? " " : module . document_review_dynamodb_table [0 ]. dynamodb_read_policy_document ,
1313 aws_iam_policy . ssm_access_policy . policy ,
1414 module . ndr-app-config . app_config_policy ,
1515 aws_iam_policy . kms_mns_lambda_access [0 ]. policy ,
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ resource "aws_iam_role" "lambda_execution_role" {
160160}
161161
162162data "aws_iam_policy_document" "merged_policy" {
163- source_policy_documents = concat (var. iam_role_policy_documents , [data . aws_iam_policy_document . lambda_kms_access . json ])
163+ source_policy_documents = concat (compact ( var. iam_role_policy_documents ) , [data . aws_iam_policy_document . lambda_kms_access . json ])
164164}
165165
166166resource "aws_iam_policy" "combined_policies" {
You can’t perform that action at this time.
0 commit comments