Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow passrole on task role too #1992

Merged
merged 3 commits into from
Nov 21, 2024
Merged

Conversation

Tian-2017
Copy link
Collaborator

@Tian-2017 Tian-2017 commented Nov 21, 2024

botocore.errorfactory.AccessDeniedException: An error occurred (AccessDeniedException) when calling the RunTask operation: User: arn:aws:iam::120038763019:user/parking-airflow-user is not authorized to perform: iam:PassRole on resource: arn:aws:iam::120038763019:role/dataplatform-stg-ecs-parking because no identity-based policy allows the iam:PassRole action

Get the error which requires passrole on task role. We added this before for mosaic, but I forgot it this morning's PR.

Copy link
Collaborator

@LBH-wgreeff LBH-wgreeff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tian-2017 Tian-2017 merged commit 48cab13 into main Nov 21, 2024
12 checks passed
@Tian-2017 Tian-2017 deleted the allow-passrole-on-task-role-too branch November 21, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants