Skip to content

Commit

Permalink
docs: don't deploy from local template file (#24)
Browse files Browse the repository at this point in the history
Usage section should be as simple and concise as possible. Remove instructions for creating deployment from template file, and keep instructions for creating deployment from template URI. Creating a deployment from template URI can be done without cloning this repository or copying the contents of the template file.
  • Loading branch information
hknutsen authored Jan 14, 2025
1 parent c0172b0 commit 6ceb5be
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,7 @@ Azure Resource Manager (ARM) template that creates an Azure Storage account to s

Requires Azure role `Contributor` at subscription.

1. Create a deployment at resource group from the template file:

```console
az deployment group create --name terraform-backend --resource-group <RESOURCE_GROUP_NAME> --template-file azuredeploy.json --parameters storageAccountName=<STORAGE_ACCOUNT_NAME>
```

Alternatively, create a deployment at resource group from the template URI:
1. Create a deployment at resource group from the template URI:

```console
az deployment group create --name terraform-backend --resource-group <RESOURCE_GROUP_NAME> --template-uri https://raw.githubusercontent.com/equinor/azure-terraform-backend-template/refs/heads/main/azuredeploy.json --parameters storageAccountName=<STORAGE_ACCOUNT_NAME>
Expand Down

0 comments on commit 6ceb5be

Please sign in to comment.