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(pipelines): policy size too large at around ~70 actions #20189
Closed
Commits on May 3, 2022
-
fix(pipelines): policy size too large at around ~70 actions
Two changes: - Collapse CodeBuild action Roles: each CodeBuild step used to create a fresh Role to run the CodeBuild action. Change to use one Role for all CodeBuild actions. This saves a lot of resources and policy space when using a lot of CodeBuild steps, and doesn't appreciably change the security posture of the Pipeline (note: this is *not* about the Execution Role of the CodeBuild projects, this is about the Role assumed by the Pipeline to initiate execution of the Project). - If inline policies grow bigger than 10k, split additional statements off into ManagedPolicies. Since we want to do the splitting post-merging (to get the most bang for our buck), we now need to do statement merging during the `prepare` phase (that is, pre-rendering, instead of post-rendering). That means it had to be modified to work on `PolicyStatement` objects, instead of on raw IAM JSON documents. Closes #19276, closes #19939, closes #19835.
Configuration menu - View commit details
-
Copy full SHA for fbdd9e8 - Browse repository at this point
Copy the full SHA fbdd9e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39da03d - Browse repository at this point
Copy the full SHA 39da03dView commit details
Commits on May 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c6bd392 - Browse repository at this point
Copy the full SHA c6bd392View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc35fd1 - Browse repository at this point
Copy the full SHA bc35fd1View commit details
Commits on May 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d8d24de - Browse repository at this point
Copy the full SHA d8d24deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 145b66d - Browse repository at this point
Copy the full SHA 145b66dView commit details -
Configuration menu - View commit details
-
Copy full SHA for da17422 - Browse repository at this point
Copy the full SHA da17422View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7db65c - Browse repository at this point
Copy the full SHA c7db65cView commit details
Commits on May 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a32e3b8 - Browse repository at this point
Copy the full SHA a32e3b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39f4af2 - Browse repository at this point
Copy the full SHA 39f4af2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 930d612 - Browse repository at this point
Copy the full SHA 930d612View commit details
Commits on May 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e5e5922 - Browse repository at this point
Copy the full SHA e5e5922View commit details
Commits on May 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 37b4c57 - Browse repository at this point
Copy the full SHA 37b4c57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65aaf02 - Browse repository at this point
Copy the full SHA 65aaf02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a30ed6 - Browse repository at this point
Copy the full SHA 0a30ed6View commit details
Commits on May 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6229594 - Browse repository at this point
Copy the full SHA 6229594View commit details -
Configuration menu - View commit details
-
Copy full SHA for 424736b - Browse repository at this point
Copy the full SHA 424736bView commit details
Commits on May 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3a06e41 - Browse repository at this point
Copy the full SHA 3a06e41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0731d6f - Browse repository at this point
Copy the full SHA 0731d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 276220f - Browse repository at this point
Copy the full SHA 276220fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.