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

[Request] azd up/provision console print the Subscription and Region #2544

Closed
paulyuk opened this issue Jul 17, 2023 · 5 comments · Fixed by #2829
Closed

[Request] azd up/provision console print the Subscription and Region #2544

paulyuk opened this issue Jul 17, 2023 · 5 comments · Fixed by #2829

Comments

@paulyuk
Copy link
Member

paulyuk commented Jul 17, 2023

Once you've done the azd up or provision once, the subscription and region you chose is stashed away in the environment files.

At scale, when working with enough environments, it gets painful to know which subscription/region/token you're targeting.

The request is to always print the RG/subscription/region in every provision and up, so you know where you're sending those bits. This is incredibly useful for diagnostics and communication.

@jongio @ellismg @savannahostrowski

@savannahostrowski
Copy link
Contributor

That's fair - I think it's pretty low touch for us to just have a blurb at the top of provision output (where the grey text lives now)
that says something like:

"Provisioning in rg in region using subscription" (where rg, region, subscription are placeholders)

image

or similar.

@Austinauth for his thoughts as well.

@savannahostrowski
Copy link
Contributor

I guess my follow up would be: does RG need to be in that blurb if it's printed out as the first thing in the provision output?

@Austinauth
Copy link

Austinauth commented Jul 18, 2023

If there is valid concern about not knowing which region or subscription you're provisioning and deploying to beyond the initial azd up, would it be worth having users confirm the region and subscription before executing the command every time?

@rajeshkamal5050
Copy link

@ellismg @savannahostrowski adding it to the Germanium bucket. We can pull it into iterations/sprints as part of planning.

@john0isaac
Copy link
Contributor

Hey everyone,
I intend to work on this as a part of Hacktoberfest but I have a question.

Your request is to print the subscription before the resource group when someone runs any of the 2 commands azd up or azd provision.
Am I correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment