From ae700198051e824f2782698f127d60571762792f Mon Sep 17 00:00:00 2001 From: Nathan McKinley Date: Mon, 12 Feb 2018 13:25:06 -0800 Subject: [PATCH] Update docs to use valid syntax. (#1074) --- website/docs/d/google_container_registry_image.html.markdown | 4 ++-- .../docs/d/google_container_registry_repository.html.markdown | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/d/google_container_registry_image.html.markdown b/website/docs/d/google_container_registry_image.html.markdown index 9296d839..6bac718d 100644 --- a/website/docs/d/google_container_registry_image.html.markdown +++ b/website/docs/d/google_container_registry_image.html.markdown @@ -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}" } ``` diff --git a/website/docs/d/google_container_registry_repository.html.markdown b/website/docs/d/google_container_registry_repository.html.markdown index 99448644..3df37767 100644 --- a/website/docs/d/google_container_registry_repository.html.markdown +++ b/website/docs/d/google_container_registry_repository.html.markdown @@ -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}" } ```