Azure / Azure/azure-cli

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

Abierto
#17,455 1 comentario 3 reacciones 1 asignado Reclamado por @zhoxing-ms Ver en GitHub
act-identity-squad ARM feature-request
Lenguaje dominante
Python
Estrellas
4.6k
Forks
3.5k
Merge medio
3 d 18 h
PR fusionados (30 d)
62

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.