Skip to content

Commit

Permalink
Fix prepare after MS graph migration (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimgus authored Aug 17, 2022
1 parent 348dc0a commit d7e19bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ prepare () {
AZ_ACCOUNT_TYPE="$(az account show --query user.type --output tsv)"
if [[ "${AZ_ACCOUNT_TYPE}" = "servicePrincipal" ]]; then
export AZURE_SERVICE_PRINCIPAL_APP_ID="$(az account show --query user.name --output tsv)"
export AZURE_SERVICE_PRINCIPAL_OBJECT_ID="$(az ad sp show --id $AZURE_SERVICE_PRINCIPAL_APP_ID --query objectId --output tsv)"
export AZURE_SERVICE_PRINCIPAL_OBJECT_ID="$(az ad sp show --id $AZURE_SERVICE_PRINCIPAL_APP_ID --query id --output tsv)"
fi
export AZURE_SUBSCRIPTION_ID=$(az account show --output tsv --query id)
export AZURE_TENANT_ID=$(az account show --output tsv --query tenantId)
Expand Down

0 comments on commit d7e19bb

Please sign in to comment.