-
Notifications
You must be signed in to change notification settings - Fork 456
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
Role Assignments: Principal Type Update + Uplift API Version for Module #714
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arm/Microsoft.Authorization/roleAssignments/.bicep/nested_rbac_rg.bicep
Outdated
Show resolved
Hide resolved
Unit Test Results 1 files ± 0 1 suites ±0 14s ⏱️ ±0s Results for commit 8065139. ± Comparison against base commit 2a6a870. This pull request removes 32 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
AlexanderSehr
approved these changes
Dec 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Change
Updated to the latest API version for Role Assignments
2021-04-01-preview
.Constrained the
principalType
property to the allowed values as per the documentation, with support for''
as the default so that it is used when it is needed. This required the any() function to wrap around theprincipalType
property values in the resource defintiion. This was present when using known API versions (i.e.2020-08-01-preview
) to Bicep but won't complain with the latest API2021-04-01-preview
as it doesn't exist yet in Bicep.Updated the readme
Notes
2020-08-01-preview
instead of2021-04-01-preview
but I think we should be using the latest and all these issues referenced above will get resolved eventually.Testing
Type of Change
Please delete options that are not relevant.
Checklist