diff --git a/examples/simple_frontend/main.tf b/examples/simple_frontend/main.tf index b2040b2..ca27438 100644 --- a/examples/simple_frontend/main.tf +++ b/examples/simple_frontend/main.tf @@ -44,5 +44,5 @@ module "frontend" { source = "../.." name = "simplestaticfrontend" location = "europe-west1" - project_id = data.google_project.this.project_id + project_id = local.project_id } diff --git a/main.tf b/main.tf index 04342f4..8060c32 100644 --- a/main.tf +++ b/main.tf @@ -20,7 +20,6 @@ resource "google_storage_bucket" "this" { # make it public resource "google_storage_bucket_iam_binding" "this" { bucket = google_storage_bucket.this.name - project = var.project_id role = "roles/storage.objectViewer" members = [ "allUsers", @@ -35,7 +34,6 @@ resource "google_storage_bucket_iam_binding" "this" { resource "google_storage_bucket_access_control" "this" { bucket = google_storage_bucket.this.name - project = var.project_id role = "READER" entity = "allUsers"