diff --git a/deployment/modules/gcs/main.tf b/deployment/modules/gcs/main.tf index e53381b4..299850f3 100644 --- a/deployment/modules/gcs/main.tf +++ b/deployment/modules/gcs/main.tf @@ -68,8 +68,8 @@ resource "google_spanner_database" "log" { } resource "google_spanner_database_iam_binding" "database" { - instance = google_spanner_instance.log - database = google_spanner_database.log + instance = google_spanner_instance.log.name + database = google_spanner_database.log.name role = "roles/compute.networkUser" members = [