I am currently working on creating a bash script to automate azure managed sql instances. This is my current script:
export admin=<admin>
export password=<password>
az network vnet create \
--name <name> \
--resource-group <group-name> \
--subnet-name <subnet-name>
az sql mi create -n <mi-name> -u $admin -p $password \
--resource-group <group> -l "eastus" \
--vnet-name <vnet-name> --subnet <rs-subnet> \
I am getting the following error
Deployment failed. Correlation ID: b3695d70-9175-4796-8280-e6c773e76213. . (https://go.microsoft.com/fwlink/?linkid=871071)
When you go to the page it says to configure the existing virtual network but they provide a powershell script and i'd like to use bash if that is the problem. Could someone help me convert the script to bash?
If the problem is something else please let me know.
Thanks!