File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ module "materialize_infrastructure" {
51
51
52
52
# Enable and configure Materialize operator
53
53
install_materialize_operator = true
54
+ operator_version = var. operator_version
55
+ orchestratord_version = var. orchestratord_version
54
56
55
57
# Once the operator is installed, you can define your Materialize instances here.
56
58
materialize_instances = var. materialize_instances
@@ -80,12 +82,25 @@ variable "environment" {
80
82
default = " dev"
81
83
}
82
84
85
+ variable "operator_version" {
86
+ description = " Version of the Materialize operator to install"
87
+ type = string
88
+ default = null
89
+ }
90
+
91
+ variable "orchestratord_version" {
92
+ description = " Version of the Materialize orchestrator to install"
93
+ type = string
94
+ default = " v0.130.4"
95
+ }
96
+
83
97
variable "materialize_instances" {
84
98
description = " List of Materialize instances to be created."
85
99
type = list (object ({
86
100
name = string
87
101
namespace = string
88
102
database_name = string
103
+ environmentd_version = optional (string , " v0.130.4" )
89
104
cpu_request = string
90
105
memory_request = string
91
106
memory_limit = string
Original file line number Diff line number Diff line change @@ -145,10 +145,11 @@ locals {
145
145
146
146
instances = [
147
147
for instance in var . materialize_instances : {
148
- name = instance . name
149
- namespace = instance . namespace
150
- database_name = instance . database_name
151
- create_database = instance . create_database
148
+ name = instance . name
149
+ namespace = instance . namespace
150
+ database_name = instance . database_name
151
+ create_database = instance . create_database
152
+ environmentd_version = instance . environmentd_version
152
153
153
154
metadata_backend_url = format (
154
155
" postgres://%s:%s@%s/%s?sslmode=require" ,
You can’t perform that action at this time.
0 commit comments