Update createresources.sh
Added few Comments for clarity
This commit is contained in:
parent
f4b0c18534
commit
307ac5c25a
@ -4,7 +4,7 @@ CreateGroup()
|
|||||||
{
|
{
|
||||||
echo Creating resource group $resource_group in '$location'
|
echo Creating resource group $resource_group in '$location'
|
||||||
az group create --name $resource_group --location $location
|
az group create --name $resource_group --location $location
|
||||||
} # end of system_info
|
} # end of CreateGroup()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ deployresources()
|
|||||||
{
|
{
|
||||||
echo Deploying ARM template '$path_and_filename.json' in resource group $resource_group
|
echo Deploying ARM template '$path_and_filename.json' in resource group $resource_group
|
||||||
az group deployment create --resource-group $resource_group --parameters @$path_and_filename.parameters.json --template-file $path_and_filename.json
|
az group deployment create --resource-group $resource_group --parameters @$path_and_filename.parameters.json --template-file $path_and_filename.json
|
||||||
}
|
} # end of deployresources
|
||||||
|
|
||||||
Error_Usage()
|
Error_Usage()
|
||||||
{
|
{
|
||||||
@ -75,4 +75,4 @@ if [ "$3" == "-c" ]; then
|
|||||||
fi
|
fi
|
||||||
deployresources
|
deployresources
|
||||||
|
|
||||||
echo "all finished successfully"
|
echo "all resources finished successfully"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user