Skip to content

Commit e21b223

Browse files
committed
kms template
1 parent 051a069 commit e21b223

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

terraform/id_sync_lambda.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ data "aws_iam_policy_document" "id_sync_policy_document" {
260260
templatefile("${local.policy_path}/secret_manager.json", {
261261
"account_id" : data.aws_caller_identity.current.account_id,
262262
"pds_environment" : var.pds_environment
263+
}),
264+
templatefile("${local.policy_path}/dynamo_key_access.json", {
265+
"dynamo_encryption_key" : data.aws_kms_key.existing_dynamo_encryption_key.arn
263266
})
264267
]
265268
}

0 commit comments

Comments
 (0)