Skip to content

Commit 8a4bb9b

Browse files
AcuionYuriy Natarov
andauthored
TRANSFER-548: Add missing KMS and RDS permissions (#14)
`kms:CreateAlias` and `rds:ModifyDBParameterGroup` permissions were missing from Airflow BYOA permissions set --------- Co-authored-by: Yuriy Natarov <[email protected]>
1 parent d2f30d5 commit 8a4bb9b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

iam.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,13 +648,20 @@ data "aws_iam_policy_document" "doublecloud_airflow" {
648648
]
649649
}
650650

651+
statement {
652+
effect = "Allow"
653+
actions = ["kms:CreateAlias"]
654+
resources = ["arn:aws:kms:${local.region}:${local.account_id}:alias/airflow-afc*"]
655+
}
656+
651657
statement {
652658
effect = "Allow"
653659
actions = [
654660
"rds:AddTagsToResource",
655661
"rds:CreateDBInstance",
656662
"rds:CreateDBCluster",
657663
"rds:CreateDBParameterGroup",
664+
"rds:ModifyDBParameterGroup",
658665
]
659666
resources = [
660667
"arn:aws:rds:${local.region}:${local.account_id}:*:airflow-afc*",

0 commit comments

Comments
 (0)