-
Notifications
You must be signed in to change notification settings - Fork 436
Added bicep appgateway #113
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
Merged
AlexanderSehr
merged 31 commits into
Azure:main
from
Msanzdelrio:users/msanzdelrio/bicep_appgateway
Oct 5, 2021
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0894119
initial version
Msanzdelrio 2350ca5
updated builtin role names with initial version
Msanzdelrio 9cd1bf9
updated workflow with bicep modules
Msanzdelrio 98d4b86
fixed role assignment error
Msanzdelrio 47589d7
removed string concats
Msanzdelrio 777a83b
added own object id
Msanzdelrio 1c5475a
updated to be a string
Msanzdelrio f33d8f7
udpated as virtual wans
Msanzdelrio 6adb104
downcast to string in rbac
Msanzdelrio 59cbbaa
removed comments
Msanzdelrio dbaeba3
updated probe configuration
Msanzdelrio c9f57e8
created json object for probe
Msanzdelrio baf3179
updated parameter for sku
Msanzdelrio 9ccaec6
back to waf_v2
Msanzdelrio a0651cf
updated with variable
Msanzdelrio e417bba
removed variable
Msanzdelrio 57a52a8
added initial workflow steps + correct roles
Msanzdelrio 0075256
remove test.json file
Msanzdelrio bd95d61
removed som unnecessary variables
Msanzdelrio 8da22a1
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
Msanzdelrio 6106f53
remove roles assignments parameter
Msanzdelrio 9a53ac2
test with WAF medium
Msanzdelrio c21ba8f
removing managed identity resource id
Msanzdelrio d3a6809
adding managed identity resource id back and updated sku
Msanzdelrio db1b4fb
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
Msanzdelrio 5a53669
restoring quotes format + using full rbac model
Msanzdelrio 1614005
updated foreach loops
Msanzdelrio 052cfa6
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
Msanzdelrio c696d68
fixed remaining foreach loops
Msanzdelrio 763c3c5
updated rbac module
Msanzdelrio 3dbddf9
updated nested_rbac module
Msanzdelrio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Empty file.
12 changes: 12 additions & 0 deletions
12
arm/Microsoft.Network/applicationGateways/.bicep/nested_rbac.bicep
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| param roleAssignmentObj object | ||
| param builtInRoleNames object | ||
| param resourceName string | ||
|
|
||
| resource roleAssignment 'Microsoft.Network/applicationGateways/providers/roleAssignments@2020-04-01-preview' = [for principalId in roleAssignmentObj.principalIds: { | ||
| name: '${resourceName}/Microsoft.Authorization/${guid(resourceName, principalId, roleAssignmentObj.roleDefinitionIdOrName)}' | ||
| properties: { | ||
| roleDefinitionId: (contains(builtInRoleNames, roleAssignmentObj.roleDefinitionIdOrName) ? builtInRoleNames[roleAssignmentObj.roleDefinitionIdOrName] : roleAssignmentObj.roleDefinitionIdOrName) | ||
| principalId: principalId | ||
| } | ||
| dependsOn: [] | ||
| }] | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.