Skip to content

Commit a6c4402

Browse files
committed
feat(etl-ods): FTRS-3181 use newly created CMK with the etl scheduler
1 parent 70245be commit a6c4402

File tree

1 file changed

+2
-1
lines changed
  • infrastructure/stacks/etl_ods

1 file changed

+2
-1
lines changed

infrastructure/stacks/etl_ods/data.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ data "aws_iam_policy_document" "ods_etl_scheduler_invoke_policy" {
162162
actions = [
163163
"kms:Decrypt",
164164
"kms:DescribeKey",
165-
"kms:GenerateDataKey*"
165+
"kms:CreateGrant",
166+
"kms:ReEncrypt"
166167
]
167168
resources = [data.aws_kms_key.scheduler_kms_key.arn]
168169
}

0 commit comments

Comments
 (0)