Azure CLI Contd
- Create a reusable script to create virtual machines
- We have create a script with variables Refer Here
- To make this script reusable we have to deal with
- not trying to create resources if they are already present
- giving options to the users to change the values
- References:
- Bash cheatsheet Refer Here
- Azure CLI Bash Refer Here
- Refer Here for the gaurds or flags added to create resource group, network and subnet only if they donot exists
- Exercise: Apply the same for other resoruces