Skip to content

Commit 2ccf90f

Browse files
committed
secrets policy
1 parent ac1f46b commit 2ccf90f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

terraform/id_sync_lambda.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ data "aws_iam_policy_document" "id_sync_policy_document" {
248248
}),
249249
templatefile("${local.policy_path}/dynamodb_stream.json", {
250250
"dynamodb_table_name" : aws_dynamodb_table.events-dynamodb-table.name
251+
}),
252+
templatefile("${local.policy_path}/secret_manager.json", {
253+
"account_id" : data.aws_caller_identity.current.account_id,
254+
"pds_environment" : var.pds_environment
251255
})
252256
]
253257
}

0 commit comments

Comments
 (0)