-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
staticwebapp appsettings set: Support environments #22552
Comments
route to CXP team |
@anthonychu @DarqueWarrior Apologies for the late reply. Thanks for reaching out to us and sharing this feedback. Adding the Service team to take a look into this. |
Would it be possible to give this a bump, feels like this is quite a significant oversight for folks wanting to make use of preview environments. |
/cc @thomasgauvin @Reshmi-Sriram While not ideal, you can use List environments
Fetch app settings in an environment and output a file
Update app settingsOpen the file and edit the app settings. Then run:
|
Hey folks! This has now been completed and you should be able to access it in the latest release of the Az CLI: https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md#april-25-2023-1 The update to the Az CLI docs will come out shortly |
Related command
az staticwebapp appsettings set
Is your feature request related to a problem? Please describe.
Cannot configure app settings for environments other than production.
Describe the solution you'd like
Add a
--environment
parameter. If supplied, app setting changes are applied to the environment specified, instead of production.Describe alternatives you've considered
Call
az rest
directly.Additional context
Static Web Apps supports preview environments. It's not possible to configure app settings for these environments with Azure CLI.
/cc @DarqueWarrior
Azure/static-web-apps#677 (comment)
The text was updated successfully, but these errors were encountered: