CircleCI-Public / azure-cli-orb

CircleCI orb to install and configure the Azure CLI
https://circleci.com/orbs/registry/orb/circleci/azure-cli
MIT License
2 stars 13 forks source link

Should provide a parameter to specify subscription id #3

Closed bingosummer closed 3 years ago

bingosummer commented 5 years ago

Orb version

1.1.0

What happened

After login, wrong subscription is used.

Expected behavior

After login, azure-cli-orb should use az account set -s <SUBSCRIPTION-ID> to switch to the correct subscription. Because a service principal may be bound to multiple subscriptions, but users only want to create resources on one of the subscriptions. So the orb should provide a parameter to specify subscription id.

iynere commented 5 years ago

@bingosummer can you drop a link to a job where you saw this happen ? thank you !

dsayling commented 3 years ago

closing stale issue - please comment to reopen