Skip to content

Commit

Permalink
allow passrole on task role too
Browse files Browse the repository at this point in the history
  • Loading branch information
Tian-2017 committed Nov 21, 2024
1 parent a869a26 commit 1472478
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 @@ -911,7 +911,9 @@ data "aws_iam_policy_document" "airflow_base_policy" {
"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/parking-ecs-execution-role",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/housing-ecs-execution-role"
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/housing-ecs-execution-role",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/${var.identifier_prefix}-${local.department_identifier}-ecs-parking",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/${var.identifier_prefix}-${local.department_identifier}-ecs-housing"
]
condition {
test = "StringEquals"
Expand Down

0 comments on commit 1472478

Please sign in to comment.