-
Notifications
You must be signed in to change notification settings - Fork 207
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
Add azd
option to be prompted for config values again
#4623
Comments
Thanks for opening the issue, @dluc! You're right that we don't have a good story to reconfigure these values today - you need to create a new environment (which would mean redeploying new copies of all the infra). If you want to live dangerously, you can edit the I'm not sure that's we'd want to change the behavior of @weikanglim - Interested if you have any thoughts as to where this configure command might live. I could imagine |
Agreed with @ellismg on a very great explanation here on how the system works here today.
@dluc - I'm wondering in your case, would there always be a disjoint set of parameters such that:
If this is the case, perhaps having the ability to annotate the parameters could help with the overall experience.
@ellismg - shooting from the hip here: I don't know if
I could also see that we start from Config stored under Infra (root) that is inherited by all Environment by default, then allow overlayering -- it's perhaps a tough call to make, some experimentation here would help understand the UX tradeoffs between the two. For both Inputs and Config, they should minimally be hierarchically namespaced key-value pairs and addressed the same way. For example, if we were using |
Just putting this out here: another small UI tweak we could make that adds a single prompt to the happy path, that opens up configuring the save behavior for values: ? Enter value for 'authority':
? Enter value for 'clientId':
? Remember these values for later? Y/n and if no: ? Remember these values for later? n
? Select any values to be saved (press Enter to skip)
- [ ] authority
- [ ] clientId Not sure how I think about this experience at this moment, but it was the best I could come up with right now. |
There is some similar prior art in the aspire manifest itself, some parameters can be marked with generation info which tells |
I'm using Aspire to deploy a project to Azure. The first time I run
azd up
I get prompted for a few questions, for instanceApparently, there's no way to go through these questions again. One is expected to understand how to manage manually these values inside the
.azure
folder. A hacky workaround might be creating a new environment, or deleting the folder every time.Please add an option to have those questions asked again, or, even better, change
azd up
to always ask the questions, showing the current values, given that there's already a--no-prompt
to skip the questions if one needs to.Thanks
The text was updated successfully, but these errors were encountered: