Skip to content

Commit 0926295

Browse files
nat-hendersonrosbo
authored andcommitted
Update docs to use valid syntax. (hashicorp#1074)
1 parent 05fdf09 commit 0926295

2 files changed

+4
-4
lines changed

docs/d/google_container_registry_image.html.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ The URLs are computed entirely offline - as long as the project exists, they wil
1515
## Example Usage
1616

1717
```hcl
18-
data "google_container_registry_image" {
18+
data "google_container_registry_image" "debian" {
1919
name = "debian"
2020
}
2121
2222
output "gcr_location" {
23-
value = "${data.google_container_registry_image.image_url}"
23+
value = "${data.google_container_registry_image.debian.image_url}"
2424
}
2525
```
2626

docs/d/google_container_registry_repository.html.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ The URLs are computed entirely offline - as long as the project exists, they wil
1515
## Example Usage
1616

1717
```hcl
18-
data "google_container_registry_repository" {}
18+
data "google_container_registry_repository" "foo" {}
1919
2020
output "gcr_location" {
21-
value = "${data.google_container_registry_repository.repository_url}"
21+
value = "${data.google_container_registry_repository.foo.repository_url}"
2222
}
2323
```
2424

0 commit comments

Comments
 (0)