-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deployment): ALZ role definitions replaced by new deployment (#174)
Fixes #173
- Loading branch information
1 parent
70b0ee7
commit 263c3bf
Showing
7 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
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
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
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
28 changes: 28 additions & 0 deletions
28
...rationtest/testdata/multipleroledefinitions/test-role-definition.alz_role_definition.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "c9a07a05-a1fc-53fe-a565-5eed25597c03", | ||
"type": "Microsoft.Authorization/roleDefinitions", | ||
"apiVersion": "2018-01-01-preview", | ||
"properties": { | ||
"roleName": "test-role-definition", | ||
"description": "Test role definition", | ||
"type": "CustomRole", | ||
"permissions": [ | ||
{ | ||
"actions": [ | ||
"*" | ||
], | ||
"notActions": [ | ||
"Microsoft.Authorization/*/write", | ||
"Microsoft.Network/publicIPAddresses/write", | ||
"Microsoft.Network/virtualNetworks/write", | ||
"Microsoft.KeyVault/locations/deletedVaults/purge/action" | ||
], | ||
"dataActions": [], | ||
"notDataActions": [] | ||
} | ||
], | ||
"assignableScopes": [ | ||
"${current_scope_resource_id}" | ||
] | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
integrationtest/testdata/multipleroledefinitions/test.alz_archetype_definition.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name: test | ||
role_definitions: | ||
- test-role-definition |
14 changes: 14 additions & 0 deletions
14
integrationtest/testdata/multipleroledefinitions/test.alz_architecture_definition.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
management_groups: | ||
- archetypes: | ||
- test | ||
display_name: test1 | ||
exists: false | ||
id: test1 | ||
parent_id: null | ||
- archetypes: | ||
- test | ||
display_name: test2 | ||
exists: false | ||
id: test2 | ||
parent_id: null | ||
name: test |
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