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 airflow user (parking and housing) one to pass the ecs-execution-role #1990

Merged
merged 1 commit into from
Nov 21, 2024

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/parking-ecs-execution-role because no identity-based policy allows the iam:PassRole action

Same as before, need to allow passrole permission here.

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 changed the title allow Airflow perform on ecs parking and housing execution role Allow airflow user (parking and housing one to pass the ecs-execution-role Nov 21, 2024
@Tian-2017 Tian-2017 merged commit a869a26 into main Nov 21, 2024
12 checks passed
@Tian-2017 Tian-2017 deleted the allow-airflow-passrole-on-ecs branch November 21, 2024 12:04
@Tian-2017 Tian-2017 changed the title Allow airflow user (parking and housing one to pass the ecs-execution-role Allow airflow user (parking and housing) one to pass the ecs-execution-role Nov 21, 2024
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