You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1010 B

7 years ago
  1. # Deploying resources using create-resources script
  2. 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.
  3. ## Deploying to a existing resource group
  4. Just type `create-resources path-to-arm-template resourcegroup`. Called this way the script will:
  5. 1. Search for `path-to-arm-template.json` and `path-to-arm-template.parameters.json` files
  6. 2. If they exist, will deploy them in the `resourcegroup` specified (that has to exist).
  7. ## Deploying to a new resource group
  8. Just type `create-resources path-to-arm-template resourcegroup -c location`. Called this way the script will:
  9. 1. Search for `path-to-arm-template.json` and `path-to-arm-template.parameters.json` files
  10. 2. If they exist, will create the `resourcegroup` specified in the `location` specified.
  11. 3. Finally will deploy `path-to-arm-template.json` and `path-to-arm-template.parameters.json` files in the `resourcegroup`