Azure / Azure/azure-quickstart-templates

Error template Create a specialized virtual machine in an existing virtual network - 201-specialized-vm-in-existing-vnet/

Open
#2,824 2 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

The template https://github.com/Azure/azure-quickstart-templates/tree/master/201-vm-specialized-vhd-existing-vnet

Generates the following error:

{
"error": {
"code": "InvalidResourceReference",
"message": "Resource /subscriptions/13df0939-b409-4c02-bf8f-6904de1a6d15/resourceGroups/GROUP-PRUEBAS/providers/Microsoft.Network/virtualNetworks/PRUEBASANHAZURE referenced by resource /subscriptions/13df0939-b409-4c02-bf8f-6904de1a6d15/resourceGroups/Group-Pruebas/providers/Microsoft.Network/networkInterfaces/SVSQLSP01C-PR was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.",
"details": [
{
"code": "NotFound",
"message": "Resource /subscriptions/13df0939-b409-4c02-bf8f-6904de1a6d15/resourceGroups/GROUP-PRUEBAS/providers/Microsoft.Network/virtualNetworks/PRUEBASANHAZURE not found."

Probe manually creating the network interface but the same thing happens

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the 201-vm-specialized-vhd-existing-vnet template and the reported InvalidResourceReference error, then trace how the virtual network and network interface references are constructed. Reproduce the deployment or manual network-interface creation with the reported parameters. Done means the template can create the specialized VM and its network interface without the missing virtual-network error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.