From 5bcbe008e0c5bd71a69679b5517c709892604716 Mon Sep 17 00:00:00 2001 From: Justin Dearing Date: Fri, 31 May 2019 23:22:11 -0400 Subject: [PATCH] Updated docs for using az cli or service principle Using az login and then terraform init from the command line I got `Error: Either an Access Key / SAS Token or the Resource Group for the Storage Account must be specified` --- website/docs/backends/types/azurerm.html.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/backends/types/azurerm.html.md b/website/docs/backends/types/azurerm.html.md index 76caa26b7..aca2a54e4 100644 --- a/website/docs/backends/types/azurerm.html.md +++ b/website/docs/backends/types/azurerm.html.md @@ -20,6 +20,7 @@ When authenticating using the Azure CLI or a Service Principal: ```hcl terraform { backend "azurerm" { + resource_group_name = "StorageAccount-ResourceGroup" storage_account_name = "abcd1234" container_name = "tfstate" key = "prod.terraform.tfstate"