Azure / Azure/azure-cli

Ability for 'az deployment group create' command to automatically create the specified resource group if it doesn't already exist

Ouverte
#17,455 1 commentaire 3 réactions 1 personne assignée Réclamée par @zhoxing-ms Voir sur GitHub
act-identity-squad ARM feature-request
Langage dominant
Python
Étoiles
4.6k
Forks
3.5k
Merge moyen
3 j 18 h
PR mergées (30 j)
62

Description

When testing ARM templates, a very common pattern is to create a resource group and then immediately deploy the template into it. Currently this requires two steps:

az group create -n MyResourceGroupName -l location
az deployment group create -g MyResourceGroupName -f template.json

It would be great if we had a single step operation to do both of these. Please consider adding the ability for the `az deployment group create` command to create the resource group if it doesn't already exist. Perhaps a new `--create-group-if-not-exists` flag could be added?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.