Skip to content

staticwebapp appsettings set: Support environments #22552

@anthonychu

Description

@anthonychu

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions