Bind resource for IGrantable is great, but can we add a option to turn off? #26835
Unanswered
singlewind
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I think most constructs provide a way to get around CDK adding policies automatically - could you give an example of your code which produces additional policies you don't want? If not, we can create a feature request as a better place to track this. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@peterwoodworth can you give an example of an L2 construct that provides a way to get around CDK adding policies automatically? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A lot of high level resource implement bind method which will automatically grant permission to resources. In most of cases it is fine. However, it is not smart enough to check existing policies which will create a lot of polices until overflow. By default, each role only allow 20 policies attached to it.
Beta Was this translation helpful? Give feedback.
All reactions