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`
This commit is contained in:
Justin Dearing 2019-05-31 23:22:11 -04:00 committed by GitHub
parent 6e5c6cbdea
commit 5bcbe008e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"