Skip to content

Commit

Permalink
allow Airflow perform on ecs parking and housing execution role
Browse files Browse the repository at this point in the history
  • Loading branch information
Tian-2017 committed Nov 21, 2024
1 parent 7bce480 commit deeeffe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion terraform/modules/department/50-aws-iam-policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,9 @@ data "aws_iam_policy_document" "airflow_base_policy" {
]
resources = [
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/dap-ecs-execution-role",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/dap-ecs-task-role"
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/dap-ecs-task-role",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/parking-ecs-execution-role",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/housing-ecs-execution-role"
]
condition {
test = "StringEquals"
Expand Down

0 comments on commit deeeffe

Please sign in to comment.