From f55c9070775df9fc001c79a6cad8e44a60d7de66 Mon Sep 17 00:00:00 2001 From: Henrik Simonsen Knutsen <46495473+hknutsen@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:25:47 +0100 Subject: [PATCH] docs: create resource group with specified name and location (#15) * docs: set own resource group name * docs: set resource group location --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f8340cc..26227bb 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Azure Resource Manager (ARM) template that creates an Azure Storage account to s 1. Create resource group: ```console - az group create --name tfstate + az group create --name --location ``` Requires Azure role `Contributor` at subscription. @@ -47,13 +47,13 @@ Azure Resource Manager (ARM) template that creates an Azure Storage account to s 1. Create a deployment at resource group from the template file: ```console - az deployment group create --name terraform-backend --resource-group tfstate --template-file azuredeploy.json --parameters storageAccountName= + az deployment group create --name terraform-backend --resource-group --template-file azuredeploy.json --parameters storageAccountName= ``` Alternatively, create a deployment at resource group from the template URI: ```console - 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= + az deployment group create --name terraform-backend --resource-group --template-uri https://raw.githubusercontent.com/equinor/azure-terraform-backend-template/refs/heads/main/azuredeploy.json --parameters storageAccountName= ``` Requires Azure role `Owner` at resource group. @@ -65,7 +65,7 @@ Azure Resource Manager (ARM) template that creates an Azure Storage account to s ```terraform terraform { backend "azurerm" { - resource_group_name = "tfstate" + resource_group_name = "" storage_account_name = "" container_name = "tfstate" key = "terraform.tfstate"