Skip to content
Discussion options

You must be logged in to vote

I cannot directly override the created task role on the EcsRunnerProvider.

Can you suggest a better way to achieve overriding the default task role that the EcsRunnerProvider creates for container use? I may also be missing something fundamental, so feel free to point that out as well.

You have access to the grant principal. You can add grants and even revokes directly.

See the IAM example https://github.com/CloudSnorkel/cdk-github-runners/tree/main/examples/python/iam-permissions

Testing shows I am not inheriting a created ec2 launch role, but this would be an acceptable solution, ignoring security concerns (not ideal but acceptable initially). I may be able to set the generated tas…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kichik
Comment options

You must be logged in to vote
1 reply
@bmckinle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants