Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in Custom Commands Azure deployment scripts? #532

Open
dargilco opened this issue Nov 18, 2020 · 0 comments
Open

Possible bug in Custom Commands Azure deployment scripts? #532

dargilco opened this issue Nov 18, 2020 · 0 comments
Labels
bug Something isn't working Deployment & Provisioning Tasks common to all clients

Comments

@dargilco
Copy link
Member

For a long time, I could not deploy the Custom Commands (CC) demo on my work machine. It failed with some error and gave the name of a resource group that I did not know where it came from (it was not the one I supplied in the script command line). After investigating, I found out how to fix it: I had some Azure configuration defaults (see this link for more info Azure CLI configurations) You can see those by typing " az configure -l ”. I had a default name for resource group, and that was the name that appeared when my CC deployment script failed. After clearing these settings (editing "C:\Users\<>\.azure\config" to delete the relevant configuration), the CC deployment script worked. For some reason, the deployment script picked up the Azure default I had set on this PC and ignored the resource group name I provided as command line argument.
I'd like to investigate this further, as others may hit this issue. Logging this as a GitHub issue so we don't forget and in case someone else hits this.

@dargilco dargilco added bug Something isn't working Deployment & Provisioning Tasks common to all clients labels Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Deployment & Provisioning Tasks common to all clients
Projects
None yet
Development

No branches or pull requests

1 participant