website/docs: Run `terraform fmt` on code examples (#12075)

* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
This commit is contained in:
George Christou 2017-02-18 22:48:50 +00:00 committed by Paul Stack
parent 4acd4a2bcf
commit f70d15dd3d
1 changed files with 7 additions and 6 deletions

View File

@ -18,14 +18,15 @@ Use the navigation to the left to read about the available data sources.
``` ```
# Shared infrastructure state stored in Atlas # Shared infrastructure state stored in Atlas
data "terraform_remote_state" "vpc" { data "terraform_remote_state" "vpc" {
backend = "atlas" backend = "atlas"
config {
name = "hashicorp/vpc-prod" config {
} name = "hashicorp/vpc-prod"
}
} }
resource "aws_instance" "foo" { resource "aws_instance" "foo" {
# ... # ...
subnet_id = "${data.terraform_remote_state.vpc.subnet_id}" subnet_id = "${data.terraform_remote_state.vpc.subnet_id}"
} }
``` ```