mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 10:41:07 +00:00
Update docs to use valid syntax. (#1074)
This commit is contained in:
parent
e1323489ba
commit
ae70019805
@ -15,12 +15,12 @@ The URLs are computed entirely offline - as long as the project exists, they wil
|
|||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
data "google_container_registry_image" {
|
data "google_container_registry_image" "debian" {
|
||||||
name = "debian"
|
name = "debian"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "gcr_location" {
|
output "gcr_location" {
|
||||||
value = "${data.google_container_registry_image.image_url}"
|
value = "${data.google_container_registry_image.debian.image_url}"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -15,10 +15,10 @@ The URLs are computed entirely offline - as long as the project exists, they wil
|
|||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
data "google_container_registry_repository" {}
|
data "google_container_registry_repository" "foo" {}
|
||||||
|
|
||||||
output "gcr_location" {
|
output "gcr_location" {
|
||||||
value = "${data.google_container_registry_repository.repository_url}"
|
value = "${data.google_container_registry_repository.foo.repository_url}"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user