File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,21 +39,21 @@ Azure Resource Manager (ARM) template that creates an Azure Storage account to s
39
39
1 . Create resource group:
40
40
41
41
``` console
42
- az group create --name tfstate
42
+ az group create --name <RESOURCE_GROUP_NAME> --location <LOCATION>
43
43
```
44
44
45
45
Requires Azure role ` Contributor ` at subscription.
46
46
47
47
1 . Create a deployment at resource group from the template file:
48
48
49
49
``` console
50
- az deployment group create --name terraform-backend --resource-group tfstate --template-file azuredeploy.json --parameters storageAccountName=<STORAGE_ACCOUNT_NAME>
50
+ az deployment group create --name terraform-backend --resource-group <RESOURCE_GROUP_NAME> --template-file azuredeploy.json --parameters storageAccountName=<STORAGE_ACCOUNT_NAME>
51
51
```
52
52
53
53
Alternatively, create a deployment at resource group from the template URI:
54
54
55
55
``` console
56
- az deployment group create --name terraform-backend --resource-group tfstate --template-uri https://raw.githubusercontent.com/equinor/azure-terraform-backend-template/refs/heads/main/azuredeploy.json --parameters storageAccountName=<STORAGE_ACCOUNT_NAME>
56
+ 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>
57
57
```
58
58
59
59
Requires Azure role ` Owner ` at resource group.
@@ -65,7 +65,7 @@ Azure Resource Manager (ARM) template that creates an Azure Storage account to s
65
65
``` terraform
66
66
terraform {
67
67
backend "azurerm" {
68
- resource_group_name = "tfstate "
68
+ resource_group_name = "<RESOURCE_GROUP_NAME> "
69
69
storage_account_name = "<STORAGE_ACCOUNT_NAME>"
70
70
container_name = "tfstate"
71
71
key = "terraform.tfstate"
You can’t perform that action at this time.
0 commit comments