From 5fa624c55eaf1e1037323e9b321f221c617662b1 Mon Sep 17 00:00:00 2001 From: Kristin Laemmert Date: Mon, 29 Oct 2018 09:22:21 -0700 Subject: [PATCH] website: update terraform_remote_state syntax in backend docs --- website/docs/backends/types/artifactory.html.md | 2 +- website/docs/backends/types/azurerm.html.md | 2 +- website/docs/backends/types/consul.html.md | 2 +- website/docs/backends/types/etcd.html.md | 2 +- website/docs/backends/types/etcdv3.html.md | 2 +- website/docs/backends/types/gcs.html.md | 2 +- website/docs/backends/types/http.html.md | 2 +- website/docs/backends/types/local.html.md | 2 +- website/docs/backends/types/manta.html.md | 2 +- website/docs/backends/types/remote.html.md | 2 +- website/docs/backends/types/s3.html.md | 2 +- website/docs/backends/types/swift.html.md | 2 +- website/docs/backends/types/terraform-enterprise.html.md | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/website/docs/backends/types/artifactory.html.md b/website/docs/backends/types/artifactory.html.md index e96344431..ea4e33cd0 100644 --- a/website/docs/backends/types/artifactory.html.md +++ b/website/docs/backends/types/artifactory.html.md @@ -38,7 +38,7 @@ terraform { ```hcl data "terraform_remote_state" "foo" { backend = "artifactory" - config { + config = { username = "SheldonCooper" password = "AmyFarrahFowler" url = "https://custom.artifactoryonline.com/artifactory" diff --git a/website/docs/backends/types/azurerm.html.md b/website/docs/backends/types/azurerm.html.md index 1d1126b9a..4ecc57375 100644 --- a/website/docs/backends/types/azurerm.html.md +++ b/website/docs/backends/types/azurerm.html.md @@ -33,7 +33,7 @@ Note that for the access credentials we recommend using a ```hcl data "terraform_remote_state" "foo" { backend = "azurerm" - config { + config = { storage_account_name = "terraform123abc" container_name = "terraform-state" key = "prod.terraform.tfstate" diff --git a/website/docs/backends/types/consul.html.md b/website/docs/backends/types/consul.html.md index 79d726fb9..5e1577269 100644 --- a/website/docs/backends/types/consul.html.md +++ b/website/docs/backends/types/consul.html.md @@ -34,7 +34,7 @@ Note that for the access credentials we recommend using a ```hcl data "terraform_remote_state" "foo" { backend = "consul" - config { + config = { path = "full/path" } } diff --git a/website/docs/backends/types/etcd.html.md b/website/docs/backends/types/etcd.html.md index 2e4cf089f..cc731c940 100644 --- a/website/docs/backends/types/etcd.html.md +++ b/website/docs/backends/types/etcd.html.md @@ -28,7 +28,7 @@ terraform { ```hcl data "terraform_remote_state" "foo" { backend = "etcd" - config { + config = { path = "path/to/terraform.tfstate" endpoints = "http://one:4001 http://two:4001" } diff --git a/website/docs/backends/types/etcdv3.html.md b/website/docs/backends/types/etcdv3.html.md index 19f27c13c..1be49373f 100644 --- a/website/docs/backends/types/etcdv3.html.md +++ b/website/docs/backends/types/etcdv3.html.md @@ -34,7 +34,7 @@ Note that for the access credentials we recommend using a ```hcl data "terraform_remote_state" "foo" { backend = "etcdv3" - config { + config = { endpoints = ["etcd-1:2379", "etcd-2:2379", "etcd-3:2379"] lock = true prefix = "terraform-state/" diff --git a/website/docs/backends/types/gcs.html.md b/website/docs/backends/types/gcs.html.md index 93ae55870..3349c304e 100644 --- a/website/docs/backends/types/gcs.html.md +++ b/website/docs/backends/types/gcs.html.md @@ -28,7 +28,7 @@ terraform { ```hcl data "terraform_remote_state" "foo" { backend = "gcs" - config { + config = { bucket = "terraform-state" prefix = "prod" } diff --git a/website/docs/backends/types/http.html.md b/website/docs/backends/types/http.html.md index f0dce897a..19254ce69 100644 --- a/website/docs/backends/types/http.html.md +++ b/website/docs/backends/types/http.html.md @@ -35,7 +35,7 @@ terraform { ```hcl data "terraform_remote_state" "foo" { backend = "http" - config { + config = { address = "http://my.rest.api.com" } } diff --git a/website/docs/backends/types/local.html.md b/website/docs/backends/types/local.html.md index 280f4118c..a98787634 100644 --- a/website/docs/backends/types/local.html.md +++ b/website/docs/backends/types/local.html.md @@ -29,7 +29,7 @@ terraform { data "terraform_remote_state" "foo" { backend = "local" - config { + config = { path = "${path.module}/../../terraform.tfstate" } } diff --git a/website/docs/backends/types/manta.html.md b/website/docs/backends/types/manta.html.md index 386f08af7..018009422 100644 --- a/website/docs/backends/types/manta.html.md +++ b/website/docs/backends/types/manta.html.md @@ -31,7 +31,7 @@ Note that for the access credentials we recommend using a ```hcl data "terraform_remote_state" "foo" { backend = "manta" - config { + config = { path = "random/path" object_name = "terraform.tfstate" } diff --git a/website/docs/backends/types/remote.html.md b/website/docs/backends/types/remote.html.md index 576c3b22c..25f08b1ec 100644 --- a/website/docs/backends/types/remote.html.md +++ b/website/docs/backends/types/remote.html.md @@ -102,7 +102,7 @@ terraform { data "terraform_remote_state" "foo" { backend = "remote" - config { + config = { organization = "company" workspaces { diff --git a/website/docs/backends/types/s3.html.md b/website/docs/backends/types/s3.html.md index 50a7220ca..92bd11551 100644 --- a/website/docs/backends/types/s3.html.md +++ b/website/docs/backends/types/s3.html.md @@ -104,7 +104,7 @@ source](/docs/providers/terraform/d/remote_state.html). ```hcl data "terraform_remote_state" "network" { backend = "s3" - config { + config = { bucket = "terraform-state-prod" key = "network/terraform.tfstate" region = "us-east-1" diff --git a/website/docs/backends/types/swift.html.md b/website/docs/backends/types/swift.html.md index 9e66cc03b..192e58529 100644 --- a/website/docs/backends/types/swift.html.md +++ b/website/docs/backends/types/swift.html.md @@ -35,7 +35,7 @@ For the access credentials we recommend using a ```hcl data "terraform_remote_state" "foo" { backend = "swift" - config { + config = { path = "terraform_state" } } diff --git a/website/docs/backends/types/terraform-enterprise.html.md b/website/docs/backends/types/terraform-enterprise.html.md index ecd87425c..2351d3a62 100644 --- a/website/docs/backends/types/terraform-enterprise.html.md +++ b/website/docs/backends/types/terraform-enterprise.html.md @@ -46,7 +46,7 @@ omitting the access token, which can be provided as an environment variable. ```hcl data "terraform_remote_state" "foo" { backend = "atlas" - config { + config = { name = "example_corp/networking-prod" } }