Skip to content

How to allow for runtime-customized security group and task role? #604

Answered by kichik
pkaeding asked this question in Q&A
Discussion options

You must be logged in to vote

If it's just about the role, then I would definitely go with onfigure-aws-credentials-action. You don't even need self-hosted runners for that one. You can even further restrict the role dynamically using inline-session-policy.

But if you want, you should be able to grant whatever policies you want to FargateRunnerProvider. It implements IGrantable and whatever policies you add should be assigned to the task role.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pkaeding
Comment options

@kichik
Comment options

Answer selected by pkaeding
@pkaeding
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