Update docs to use valid syntax. (#1074)

This commit is contained in:
Nathan McKinley 2018-02-12 13:25:06 -08:00 committed by Vincent Roseberry
parent e1323489ba
commit ae70019805
2 changed files with 4 additions and 4 deletions

View File

@ -15,12 +15,12 @@ The URLs are computed entirely offline - as long as the project exists, they wil
## Example Usage
```hcl
data "google_container_registry_image" {
data "google_container_registry_image" "debian" {
name = "debian"
}
output "gcr_location" {
value = "${data.google_container_registry_image.image_url}"
value = "${data.google_container_registry_image.debian.image_url}"
}
```

View File

@ -15,10 +15,10 @@ The URLs are computed entirely offline - as long as the project exists, they wil
## Example Usage
```hcl
data "google_container_registry_repository" {}
data "google_container_registry_repository" "foo" {}
output "gcr_location" {
value = "${data.google_container_registry_repository.repository_url}"
value = "${data.google_container_registry_repository.foo.repository_url}"
}
```