Azure / Azure/azure-quickstart-templates

Deploy to existing RG

Open
#2,897 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

I am trying to deploy to an existing RG, the existing VNet has 4 subnets. My template for the new VM to be deployed only needs to reference 3 of those subnets. When I try to deploy it I get an error that the 4th subnet was trying to be deleted but is in use. Why would the subnet not referenced be deleted?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the deployment template and the existing VNet and subnet references described in the issue. Reproduce the deployment against an existing resource group, then determine why the unreferenced subnet is treated as removable; done means documenting the cause and a validated deployment behavior or fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.