Deploying ARM template for Azure

Reply
Highlighted
L1 Bithead

Deploying ARM template for Azure

Hi All,

Anyone encountered issue while deploying arm template from this link: "https://github.com/PaloAltoNetworks/Azure-interface-options"? i cannot seems to add it to my existing resource group using all the options. The error i have is as below.

 

error.png

 


Accepted Solutions
Highlighted
L4 Transporter

The subnets are prerequisits.  The template does not create them.   Each of the templates notes in the initial section what needs to already exist such as the Resource Group, VNET - with subnets, Storage Account for the VHDs, Load Balancer and AVailability Set.  

View solution in original post


All Replies
Highlighted
L4 Transporter

Watch for a type-o in either your VNET name or the subnet named "Mgmt" especially a trailing space in the template which I have seen often when copying and pasting from the portal.  That error is indicating that the VNIC cannot be added to subnet Mgmt.  The templates assume the subnets designated already exist, they will not create them in the RG.

Highlighted
L1 Bithead

Its a fresh new deployment of firewall to existing RG without any existing firewall. I suspect there is issue with the Github template.

Highlighted
L2 Linker

Which of the templates did you use?

Highlighted
L1 Bithead
Highlighted
L2 Linker

Which one specifically? There are multiple ARM templates in those directories.

Highlighted
L1 Bithead

I tried both existing environment with and without New AVSET. Same result.

Highlighted
L4 Transporter

Could you please post a picture of your subnets under Settings in the VNET.  The Mgmt, Trust and Untrust subnet names in the template are the default example and need to be changed to match the subnets you have previously created in the VNET.  Same will apply to the subnet prefix and Start Address.

Highlighted
L1 Bithead

There are no Mgmt, Untrust and Trust subnets in my existing RG. There is only web subnet in the vnet.

Highlighted
L4 Transporter

The subnets are prerequisits.  The template does not create them.   Each of the templates notes in the initial section what needs to already exist such as the Resource Group, VNET - with subnets, Storage Account for the VHDs, Load Balancer and AVailability Set.  

View solution in original post

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!