-
Notifications
You must be signed in to change notification settings - Fork 4k
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
CDK Grants into AWS Managed Policy #7448
Comments
+1: I was surprised recently to learn that I'd like to build a stack/app that outputs a ManagedPolicy with required permissions for stack resources (specifically things like S3 buckets, SSM param read/write, SFn state machine execution...) - so that this policy can be attached to/removed from roles/users/groups as required. Today, it seems like I'd need to manually build up lists of |
Here is a quick work around for anyone else that runs into this problem
|
Just ran into the inline policy limit where this could've solved for that. Reported bug here: #18457 |
cdk team, why is that exactly an issue here to be able to grant into managed policies? |
The inability to attach a managed policy makes it way harder to grant CodeArtifact access to CDK pipeline synth steps than it should be. |
I mean, the whole concept of granting is based on |
Related PR, not sure why it's still a draft though. #22712 |
#22712 has been merged. |
Hi @Tietew , looks like the issue has been resolved and changes implemented. So I would be marking this issue as closed. For this new error,- |
|
CDK Grants option to specify either an existing AWS Managed Policy to to create the Grant as a new AWS Managed Policy
Use Case
AWS IAM Best Practice
Use Customer Managed Policies Instead of Inline Policies
It's easier to manage, version, control, and review AWS Customer Managed Policies compared to Inline policies.
Users should have the option to utilize AWS Customer Managed Policies, rather than only inline policies.
Proposed Solution
Allow the ability to create a new AWS Customer Managed Policy or specify an existing AWS Customer Managed Policy. Rather than the default which is always an Inline Policy.
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: