diff --git a/examples/aws/main.tf b/examples/aws/main.tf index 9b56d78..53ee702 100644 --- a/examples/aws/main.tf +++ b/examples/aws/main.tf @@ -6,9 +6,9 @@ locals { } } operator = { - image = { + image = var.orchestratord_version == null ? {} : { tag = var.orchestratord_version - } + }, cloudProvider = { type = "aws" region = data.aws_region.current.name diff --git a/examples/aws/variables.tf b/examples/aws/variables.tf index 39ed5a6..637957e 100644 --- a/examples/aws/variables.tf +++ b/examples/aws/variables.tf @@ -41,7 +41,7 @@ variable "helm_values" { variable "orchestratord_version" { description = "Version of the Materialize orchestrator to install" type = string - default = "v0.138.0" + default = null } variable "operator_namespace" { diff --git a/examples/gcp/main.tf b/examples/gcp/main.tf index d16e06f..aeaed1c 100644 --- a/examples/gcp/main.tf +++ b/examples/gcp/main.tf @@ -50,9 +50,9 @@ module "operator" { operator_namespace = var.operator_namespace helm_values = { - image = { + image = var.orchestratord_version == null ? {} : { tag = var.orchestratord_version - } + }, observability = { podMetrics = { enabled = true diff --git a/examples/gcp/variables.tf b/examples/gcp/variables.tf index 45fcaf8..784672e 100644 --- a/examples/gcp/variables.tf +++ b/examples/gcp/variables.tf @@ -19,7 +19,7 @@ variable "region" { variable "orchestratord_version" { description = "Version of the Materialize orchestrator to install" type = string - default = "v0.138.0" + default = null } variable "instance_configs" {