Skip to content

Commit

Permalink
fix: relay mode conditon
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKangaroo committed Oct 20, 2023
1 parent f59ebe2 commit 60ae18d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion autogen/main/variables.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ variable "monitoring_advanced_datapath_observability_config_metrics_relay_mode"
description = "Mode used to make advanced datapath metrics relay available."
default = null
validation {
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.node_metadata)
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.monitoring_advanced_datapath_observability_config_metrics_relay_mode)
error_message = "The advanced datapath metrics relay value must be one of DISABLED, INTERNAL_VPC_LB, EXTERNAL_LB."
}

Expand Down
2 changes: 1 addition & 1 deletion modules/beta-private-cluster-update-variant/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ variable "monitoring_advanced_datapath_observability_config_metrics_relay_mode"
description = "Mode used to make advanced datapath metrics relay available."
default = null
validation {
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.node_metadata)
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.monitoring_advanced_datapath_observability_config_metrics_relay_mode)
error_message = "The advanced datapath metrics relay value must be one of DISABLED, INTERNAL_VPC_LB, EXTERNAL_LB."
}

Expand Down
2 changes: 1 addition & 1 deletion modules/beta-private-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ variable "monitoring_advanced_datapath_observability_config_metrics_relay_mode"
description = "Mode used to make advanced datapath metrics relay available."
default = null
validation {
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.node_metadata)
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.monitoring_advanced_datapath_observability_config_metrics_relay_mode)
error_message = "The advanced datapath metrics relay value must be one of DISABLED, INTERNAL_VPC_LB, EXTERNAL_LB."
}

Expand Down
2 changes: 1 addition & 1 deletion modules/beta-public-cluster-update-variant/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ variable "monitoring_advanced_datapath_observability_config_metrics_relay_mode"
description = "Mode used to make advanced datapath metrics relay available."
default = null
validation {
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.node_metadata)
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.monitoring_advanced_datapath_observability_config_metrics_relay_mode)
error_message = "The advanced datapath metrics relay value must be one of DISABLED, INTERNAL_VPC_LB, EXTERNAL_LB."
}

Expand Down
2 changes: 1 addition & 1 deletion modules/beta-public-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ variable "monitoring_advanced_datapath_observability_config_metrics_relay_mode"
description = "Mode used to make advanced datapath metrics relay available."
default = null
validation {
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.node_metadata)
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.monitoring_advanced_datapath_observability_config_metrics_relay_mode)
error_message = "The advanced datapath metrics relay value must be one of DISABLED, INTERNAL_VPC_LB, EXTERNAL_LB."
}

Expand Down
2 changes: 1 addition & 1 deletion modules/private-cluster-update-variant/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ variable "monitoring_advanced_datapath_observability_config_metrics_relay_mode"
description = "Mode used to make advanced datapath metrics relay available."
default = null
validation {
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.node_metadata)
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.monitoring_advanced_datapath_observability_config_metrics_relay_mode)
error_message = "The advanced datapath metrics relay value must be one of DISABLED, INTERNAL_VPC_LB, EXTERNAL_LB."
}

Expand Down
2 changes: 1 addition & 1 deletion modules/private-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ variable "monitoring_advanced_datapath_observability_config_metrics_relay_mode"
description = "Mode used to make advanced datapath metrics relay available."
default = null
validation {
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.node_metadata)
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.monitoring_advanced_datapath_observability_config_metrics_relay_mode)
error_message = "The advanced datapath metrics relay value must be one of DISABLED, INTERNAL_VPC_LB, EXTERNAL_LB."
}

Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ variable "monitoring_advanced_datapath_observability_config_metrics_relay_mode"
description = "Mode used to make advanced datapath metrics relay available."
default = null
validation {
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.node_metadata)
condition = contains(["DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB", null], var.monitoring_advanced_datapath_observability_config_metrics_relay_mode)
error_message = "The advanced datapath metrics relay value must be one of DISABLED, INTERNAL_VPC_LB, EXTERNAL_LB."
}

Expand Down

0 comments on commit 60ae18d

Please sign in to comment.