How to add permissions to build project role like task role? #2535
-
It has come in handy trying to add additional policies to the task role for my services, but I'm curious if I can do this today with the build project role? For example, I have internal package repositories (CodeArtifact, or other self-hosted repository) I'd like to add policy permissions for to the build project role, but it doesn't appear like the same mechanism to apply addon managed policies to the task role exist for the build project role. Is this possible today or should I file a feature request? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @joshgoodson ! Unfortunately there is no built-in way of adding additional permissions to your build project role as of now. Please feel free to file a feature request! You could attach a policy or modify the code build policy manually through console or aws cli, but that wouldn't be ideal since next time you deploy the pipeline, the role policies template will be overwritten by our generated one. This could be a temporary workaround though! |
Beta Was this translation helpful? Give feedback.
Hi @joshgoodson !
Unfortunately there is no built-in way of adding additional permissions to your build project role as of now. Please feel free to file a feature request!
You could attach a policy or modify the code build policy manually through console or aws cli, but that wouldn't be ideal since next time you deploy the pipeline, the role policies template will be overwritten by our generated one. This could be a temporary workaround though!