Forum Discussion
Moritz Nossek
Jun 23, 2017Copper Contributor
Deploy infrastructure with custom image
Hi, currently im trying to deploy an IT-infrastructure but it is not working as I want. I want to deploy 4 VMs based on the same custom image. (No Scale Set yet) When I deploy 1 single VM ba...
Moritz Nossek
Jun 26, 2017Copper Contributor
Loop sounds interesting. Because all the vms, except the size, will be kind of the same.
Thanks for having a look!
I try to send you the whole template in a private message.
Kent Gaardmand
Jun 27, 2017Iron Contributor
Also try and use Resource ID instread of concat for you dependson.
Concat just combines the input to a single string.
ResourceID insures the subscription and resource group is added:
so this:
"[resourceId('Microsoft.Network/networkInterfaces/', parameters('networkInterfaceName1'))]"
would actualy be this:
/subscriptions/****************/resourceGroups/RG3/Microsoft.Network/networkInterfaces/<parameters('networkInterfaceName1')>
- Moritz NossekJun 28, 2017Copper ContributorKeeping this in mind and I will adjust my template. Thanks for the hint :)