Skip to content

Create resource group if not found #1771

Description

Contexts:

  1. Almost every create command needs to provide a resource group and a few people have expressed the desire that CLI should create it if not existing
  2. But to create a group, we need location which is an optional argument

Propose:

  1. We can let CLI handle it at base layer, and expose a configuration point like auto-create-group. A user can set it to true, or maybe we default to true
  2. For the location parameter needed to create the group, we can handle it:
    a. If the location is supplied at command, use it
    b. Again, we can expose a configuration point of default location and CLI will use that.

/cc: Johan Stenberg (ex-msft) (@johanste), Cole Mickens (@colemickens) , Ralph Squillace (@squillace)

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions