Skip to content

[Feature] add --subscription parameter to az webapp deploy command output #164

Description

@MichaMican

Check for duplicate issues

  • I have verified that this feature has not been requested before

What should be added or changed?

When disabling autoupdate you get a command for copy pasting at the end of your terraform apply for deployment:
az webapp deploy -g '<resource_group>' -n '<appservice_name>' --src-path binaries.zip
It would be great if an additional property would be attached with --subscription <subscriptionId>
in tenants with multiple subscriptions it can happen pretty easily that the user is connected in the Azure Cloud Shell to the wrong Sub - by this we would mitigate this

Additional context

subscription_id is already a variable so we can just use thius for this parameter.

we also might want to remove the restart command from the output as that is not necessary anymore (deploy already restarts the app)

Activity

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

Metadata

Metadata

Assignees

Labels

feature requestA request regaring new functionality from the community

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions