We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70b818e commit 3e5bd17Copy full SHA for 3e5bd17
.pipelines/templates/artifact-storage.steps.yaml
@@ -232,7 +232,8 @@ steps:
232
DEF=$(cat ./azure-container-networking/.pipelines/templates/mi-build-role.json | \
233
jq -rc \
234
--arg RESOURCE_GROUP_ID "$ACNCI_BUILD_RESOURCEGROUP_ID" \
235
- -rc '.')
+ '.assignableScopes[] = $RESOURCE_GROUP_ID')
236
+ echo $DEF | jq .
237
if (( $DEFS_FOUND < 1 )); then
238
az role definition create \
239
--role-definition "$DEF"
.pipelines/templates/mi-build-role.json
@@ -56,6 +56,6 @@
56
],
57
"notDataActions": [],
58
"assignableScopes": [
59
- $RESOURCE_GROUP_ID
+ "$RESOURCE_GROUP_ID"
60
]
61
}
0 commit comments