PaloAltoNetworks / azure

VM-Series ARM Templates for Microsoft Azure
https://github.com/PaloAltoNetworks/azure
115 stars 155 forks source link

Cannot deploy the VM Series on existing vNet #31

Open rlabinot opened 2 years ago

rlabinot commented 2 years ago

Describe the bug

Hello,

I tried the use this custom template directly on Azure. I have already the Hub-And-Spokes design on my Azure and I want to add the Palo Alto. Unfortunately, the deployment fails because it wants to delete the existing vNet and just using it. I tried with these repos :

Tried to edit the ARM code but didn't succeed either, it still wants to delete to recreate but not to just use existing vnet.

Expected behavior

Create the Palo Alto VM Series on the existing vNet

Current behavior

The custom template tries to delete the existing vNet

Steps to reproduce

  1. Create a vNet with the subnets trust, untrust, mgmt
  2. Launch the custom template
  3. Add the parameters and specify the already created vNet

Context

Adding a Palo Alto VM series on a existing hub and spokes design on Azure

welcome-to-palo-alto-networks[bot] commented 2 years ago

:tada: Thanks for opening your first issue here! Welcome to the community!