fixing example of google_storage_object_acl (#642)

* fixing example of google_storage_object_acl

some of the resource names seem to be incorrect. fixing to reflect
the actual resource names in the example.

* fixup

forgot to add `.name` here.
This commit is contained in:
Mioi Hanaoka 2017-11-02 10:50:54 -07:00 committed by Dana Hoffman
parent 96c7d8666e
commit c551cb9585

View File

@ -25,13 +25,13 @@ resource "google_storage_bucket" "image-store" {
resource "google_storage_bucket_object" "image" {
name = "image1"
bucket = "${google_storage_bucket.name}"
bucket = "${google_storage_bucket.image-store.name}"
source = "image1.jpg"
}
resource "google_storage_object_acl" "image-store-acl" {
bucket = "${google_storage_bucket.image_store.name}"
object = "${google_storage_bucket_object.image_store.name}"
bucket = "${google_storage_bucket.image-store.name}"
object = "${google_storage_bucket_object.image.name}"
role_entity = [
"OWNER:user-my.email@gmail.com",