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

Would it be possible to specify the CFN Execution Role? #154

Open
roskelleycj opened this issue Apr 8, 2022 · 1 comment
Open

Would it be possible to specify the CFN Execution Role? #154

roskelleycj opened this issue Apr 8, 2022 · 1 comment

Comments

@roskelleycj
Copy link

The current GithubWorkflow design assumes that the CFN Execution Role that was defined in the CDK Bootstrap will be assumed during the Deployment. However, this is quite problematic for organizations that desire to use CDK AND not grant ALL CDK apps the exact same permissions. E.g., AdministratorAccess is just to much power to be granted. In fact this is one of the reasons that the CDK deploy allows the CFN Execution Role to be specified. See the --role-arn option for cdk deploy.

Could this be addressed in the GithubWorkflow design?

Or perhaps I've misunderstood the current design? Or missed the option where this could be specified?

@kaizencc
Copy link
Contributor

This isn't a use case I've considered either, but I'm not certain exactly what the path forward is here.

Could this be addressed in the GitHubWorkflow design? Probably, through exposing a property. But I confess that I'm not at all familiar with the --role-arn option and am going to need to dive in a little deeper before I understand the use case you'd like me to address.

Stay tuned, I'll update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants