fix mci integration in the gke-hub

This commit is contained in:
Daniel Marzini
2022-07-30 00:54:05 +02:00
parent c9fa0fbd55
commit 171d0d1051
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ resource "google_gke_hub_membership" "default" {
resource "google_gke_hub_feature" "default" {
provider = google-beta
for_each = { for k, v in var.features : k => v if coalesce(v, false) != false }
for_each = { for k, v in var.features : k => v if v != false && v != "" }
project = var.project_id
name = each.key
location = "global"

View File

@@ -77,7 +77,7 @@ variable "features" {
appdevexperience = false
configmanagement = false
identityservice = false
multiclusteringress = null
multiclusteringress = ""
servicemesh = false
multiclusterservicediscovery = false
}