Add additional info statement

This commit is contained in:
Bernd Verst 2021-10-19 18:14:01 -07:00
parent 93e3b5ddc9
commit c3b2219235
1 changed files with 1 additions and 0 deletions

View File

@ -302,6 +302,7 @@ MSYS_NO_PATHCONV=1 az role assignment create --assignee "${SDK_AUTH_SP_ID}" --ro
# Create Identity if it doesn't exist
# We use the standard name "azure-managed-identity" for the identity so we can easily query for it later using the CLI
if az identity show -g ${RESOURCE_GROUP_NAME} -n azure-managed-identity --query id -otsv; then
echo "Reusing Identity azure-managed-identity"
MANAGED_IDENTITY_SP="$(az identity show -g ${RESOURCE_GROUP_NAME} -n azure-managed-identity --query principalId -otsv)"
else
echo "Creating Identity azure-managed-identity"