-
Notifications
You must be signed in to change notification settings - Fork 515
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
Adding RBAC constrained delegation parameters and guidance in the roleAssignment modules #816
Adding RBAC constrained delegation parameters and guidance in the roleAssignment modules #816
Conversation
….com/sebassem/ALZ-Bicep into rbac-constrained-delegation-guidance
….com/sebassem/ALZ-Bicep into rbac-constrained-delegation-guidance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@sebassem great work. Just to confirm we aren't adding the condition building simplification to these modules right, just the sub vending ones?
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
Correct, just showing how to use the condition parameter in the roleAssignment modules |
@sebassem Im looking into that pipeline error but it's unrelated to your changes so nothing to do on your end. |
@sebassem Looking into it closer, it is related to these changes. 😞 The policy assignment management group module references the role assignment modules. In main currently, json is approx 3.4 MB and with your changes it comes out to 4.2 MB. As far as I'm aware the only way we can get around this is by splitting up the module deployments (likely the ALZ Default Policy Assignments module). However, I'd rather avoid this if at all possible due to it being messy and requiring a lot of work and primarily with the AVM transition work in play. |
If I remove the customer telemetry module references, I can get it down to 3.5 MB. Will think on it a bit more and update here but thinking that's going to be the easiest/quickest option. Ping me if any options come to your mind as well. |
Maybe its the long description of the parameter. I just pushed a commit to reduce the description, if that solved it, then I can move the instructions to generate a condition in md file ? |
Awesome. thanks! That got us to 4.011 and tested locally and no error so let's go with that approach for now. I am going to hit it again with the policy refresh, but good enough for now. |
….com/sebassem/ALZ-Bicep into rbac-constrained-delegation-guidance
Just pushed the changes with having the instructions in the readme |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
Adding the conditions parameters to the roleAssignment modules with examples and guidance to enable customers to securely delegate role assignments.
Related Issues/Work Items
Fixes AB#36173
Breaking Changes
N/A
Testing Evidence
As part of this Pull Request I have
.bicep
file/s I am adding/editing are using the latest API version possiblemain
branch