-
Notifications
You must be signed in to change notification settings - Fork 828
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
Remove org-level role/binding cleanup, improve lib_iam output #1794
Remove org-level role/binding cleanup, improve lib_iam output #1794
Conversation
gcloud iam functions have noisy output, trim down to relevent info - no error if role already removed - no "policy updated" is policy didn't need to be updated - diff before/after of policy changes in flat/concise format
they have been removed, cleanup no longer necessary
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/uncc @bartsmykla |
/lgtm |
/hold cancel |
|
The above output is a bit sanitized, the first time I ran the script, it halted after updating Opened #1801 to address |
Part of umbrella issue to manage organization-level IAM assets (ref: #1659)
Followup to previous PRs:
See individual commit messages for details.
The first two commits are hopefully going to dramatically reduce output from IAM changes, such that unexpected additions or removals are more likely to stand out. A bunch of infra/gcp scripts could be updated to use
lib_iam.sh
instead of calling gcloud directly.