Deploying resources using create-resources script
The create-resources script is a basic script to allow easy deployment of one ARM template in one resource group. You can deploy to an existing resource group or to create one.
Deploying to a existing resource group
Just type create-resources path-to-arm-template resourcegroup. Called this way the script will:
- Search for
path-to-arm-template.jsonandpath-to-arm-template.parameters.jsonfiles - If they exist, will deploy them in the
resourcegroupspecified (that has to exist).
Deploying to a new resource group
Just type create-resources path-to-arm-template resourcegroup -c location. Called this way the script will:
- Search for
path-to-arm-template.jsonandpath-to-arm-template.parameters.jsonfiles - If they exist, will create the
resourcegroupspecified in thelocationspecified. - Finally will deploy
path-to-arm-template.jsonandpath-to-arm-template.parameters.jsonfiles in theresourcegroup