Activity 1: Lets create a network with 3 subnets
- We have create a vnet & within properties of vnet we have added subnets and then performed the deployment. Refer Here for the changes

- Now delete the deployment
- Lets create the same template with vnet and subnets as seperate resources. Refer Here.
- When we created resources from this template the creation failed as azure was trying to create all the resources i.e. virtual network and subnets parallelly.
- So we need to define the order of resource creation Refer Here
- resource id function dynamically gets the id of the created resources Refer Here
- Refer Here for the changes with depends on
- Exercise: Create a vnet with 6 subnets
- attempt 1:
- Order of creation:
- vnet
- all six subnets
- Make a note of errors which you get if any
- Order of creation:
- attempt 2:
- Order of creation:
- vnet
- subnet1
- subnet2
- subnet3
- subnet4
- subnet5
- subnet6
- Order of creation:
- attempt 1:
