mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
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:
parent
96c7d8666e
commit
c551cb9585
@ -25,13 +25,13 @@ resource "google_storage_bucket" "image-store" {
|
|||||||
|
|
||||||
resource "google_storage_bucket_object" "image" {
|
resource "google_storage_bucket_object" "image" {
|
||||||
name = "image1"
|
name = "image1"
|
||||||
bucket = "${google_storage_bucket.name}"
|
bucket = "${google_storage_bucket.image-store.name}"
|
||||||
source = "image1.jpg"
|
source = "image1.jpg"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "google_storage_object_acl" "image-store-acl" {
|
resource "google_storage_object_acl" "image-store-acl" {
|
||||||
bucket = "${google_storage_bucket.image_store.name}"
|
bucket = "${google_storage_bucket.image-store.name}"
|
||||||
object = "${google_storage_bucket_object.image_store.name}"
|
object = "${google_storage_bucket_object.image.name}"
|
||||||
|
|
||||||
role_entity = [
|
role_entity = [
|
||||||
"OWNER:user-my.email@gmail.com",
|
"OWNER:user-my.email@gmail.com",
|
||||||
|
Loading…
Reference in New Issue
Block a user