Update Azure RM remote config documentation

Current documentation on azure backend examples leaves out a critical parameter required for remote config to work.
This commit is contained in:
Sami Rageb 2016-11-10 11:55:15 -06:00 committed by stack72
parent e7411891f4
commit 861fd22cdd
No known key found for this signature in database
GPG Key ID: 8619A619B085CB16
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,8 @@ Use of environment variables or config file is recommended.
## Example Usage
This example follows the recommended approach of storing the access_key in the environment variable `ARM_ACCESS_KEY`.
```
terraform remote config \
-backend=azure \
@ -26,6 +28,8 @@ terraform remote config \
## Example Referencing
This example follows the recommended approach of storing the access_key in the environment variable `ARM_ACCESS_KEY`.
```hcl
# setup remote state data source
data "terraform_remote_state" "foo" {
@ -34,6 +38,7 @@ data "terraform_remote_state" "foo" {
storage_account_name = "terraform123abc"
container_name = "terraform-state"
key = "prod.terraform.tfstate"
access_key = "<primary or secondary storage account access key>"
}
}
```