Azure / Azure/azvmimagebuilder
aibRoleImageCreation.json
- Dominant language
- PowerShell
- Stars
- 111
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
When trying to update the customr role az cli the assignable scope is changed to below code as shown
"**/subscriptions//resourceGroups**/"
aibRoleImageCreation.json
````
sed -i -e "s//$subscriptionID/g" aibRoleImageCreation.json
sed -i -e "s//$aibResourceGroup/g" aibRoleImageCreation.json
sed -i -e "s/Azure Image Builder Service Image Creation Role/$aibResourceGroup/g" aibRoleImageCreation.json
``` `
`_```
{
"Name": "",
"IsCustom": true,
"Description": "Image Builder access to create resources for the image build, you should delete or split out as appropriate",
"Actions": [
"Microsoft.Compute/galleries/read",
"Microsoft.Compute/galleries/images/read",
"Microsoft.Compute/galleries/images/versions/read",
"Microsoft.Compute/galleries/images/versions/write",
"Microsoft.Compute/images/write",
"Microsoft.Compute/images/read",
"Microsoft.Compute/images/delete"
],
"NotActions": [
],
"AssignableScopes": [
"/subscriptions//resourceGroups/"
]
}
```_ `
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.