red-airline-54646
05/24/2023, 12:29 PMerror: obtain subscription(***) from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.
any thoughts what's missing?
- bash: |
echo "Pulumi: $(pulumi version)"
pulumi login <azblob://platform>
pulumi stack select ${{ parameters.stack }}-${{ parameters.environment }}
displayName: Login to Pulumi
- bash: |
# Configure azure-native provider.
pulumi config set azure-native:tenantId $(tenant-id)
pulumi config set azure-native:subscriptionId $(subscription-id)
pulumi config set azure-native:clientId $(app-id)
pulumi config set azure-native:clientSecret $(app-secret) --secret
# Configure azuread provider.
pulumi config set azuread:tenantId $(tenant-id)
pulumi config set azuread:clientId $(app-id)
pulumi config set azuread:clientSecret $(app-secret) --secret
displayName: Configure Pulumi providers
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by