mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-05 17:52:38 +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
|
||||
|
||||
```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}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -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}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user