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
fix(iam): IAM Policies are too large to deploy #19114
Commits on Feb 23, 2022
-
fix(iam): IAM Policies are too large to deploy
The policies we generate sometimes have a lot of duplication between statements. This duplication can lead to the policy going over the size limit an IAM policy (either 2k, 6k or 10k bytes, depending on the resource type). This change combines multiple statements together, as long as it doesn't change the meaning of the final policy. Because doing so for all existing stacks will probably provoke minor heart attacks in operators everywhere, the new behavior is gated behind a feature flag. It can be retroactively switched on by people currently being bit by the size issues: ``` @aws-cdk/aws-iam:minimizePolicies ``` Fixes #18774, fixes #16350, fixes #18457.
Commits on Feb 24, 2022
Commits on Feb 25, 2022
Commits on Feb 26, 2022
Commits on Feb 27, 2022
Commits on Mar 2, 2022
Commits on Mar 4, 2022
-
-
Merge branch 'huijbers/minimize-policies' of github.com:aws/aws-cdk i…
…nto huijbers/minimize-policies
Commits on Mar 8, 2022
Commits on Mar 9, 2022
-
Update packages/@aws-cdk/aws-iam/lib/private/postprocess-policy-docum…
…ent.ts Co-authored-by: Romain Marcadier <rmuller@amazon.lu>
-
-
Update packages/@aws-cdk/aws-iam/lib/private/postprocess-policy-docum…
…ent.ts Co-authored-by: Romain Marcadier <rmuller@amazon.lu>