Azure / Azure/azure-cli

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

Đang mở
#17,455 1 bình luận 3 reaction 1 người được giao Được @zhoxing-ms nhận Xem trên GitHub
act-identity-squad ARM feature-request
Ngôn ngữ chính
Python
Star
4.6k
Fork
3.5k
Merge trung bình
3 ngày 18 giờ
Pull request đã merge (30 ngày)
62

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.