diff --git a/modules/asm/hub.tf b/modules/asm/hub.tf index 02f9558b9e..62840bbcfd 100644 --- a/modules/asm/hub.tf +++ b/modules/asm/hub.tf @@ -17,7 +17,7 @@ resource "google_gke_hub_membership" "membership" { count = var.enable_fleet_registration ? 1 : 0 provider = google-beta - project = var.project_id + project = local.fleet_id membership_id = "${data.google_container_cluster.asm.name}-membership" endpoint { gke_cluster { @@ -29,7 +29,7 @@ resource "google_gke_hub_membership" "membership" { resource "google_gke_hub_feature" "mesh" { count = var.enable_mesh_feature ? 1 : 0 name = "servicemesh" - project = var.project_id + project = local.fleet_id location = "global" provider = google-beta }