database_config |
Cloud SQL configuration |
object({ tier = optional(string, "db-custom-2-4096") version = optional(string, "POSTGRES_15") password = string username = optional(string, "materialize") db_name = optional(string, "materialize") }) |
n/a |
yes |
gke_config |
GKE cluster configuration. Make sure to use large enough machine types for your Materialize instances. |
object({ node_count = number machine_type = string disk_size_gb = number min_nodes = number max_nodes = number }) |
{ "disk_size_gb": 50, "machine_type": "e2-standard-4", "max_nodes": 2, "min_nodes": 1, "node_count": 1 } |
no |
helm_chart |
Chart name from repository or local path to chart. For local charts, set the path to the chart directory. |
string |
"materialize-operator" |
no |
helm_values |
Values to pass to the Helm chart |
any |
{} |
no |
install_materialize_operator |
Whether to install the Materialize operator |
bool |
true |
no |
install_metrics_server |
Whether to install the metrics-server for the Materialize Console. Defaults to false since GKE installs one by default in the kube-system namespace. Only set to true if the GKE cluster was deployed with monitoring explicitly turned off. Refer to the GKE docs for more information, including impact to GKE customer support efforts. |
bool |
false |
no |
labels |
Labels to apply to all resources |
map(string) |
{} |
no |
materialize_instances |
Configuration for Materialize instances |
list(object({ name = string namespace = optional(string) database_name = string create_database = optional(bool, true) environmentd_version = optional(string, "v0.130.4") cpu_request = optional(string, "1") memory_request = optional(string, "1Gi") memory_limit = optional(string, "1Gi") in_place_rollout = optional(bool, false) request_rollout = optional(string) force_rollout = optional(string) })) |
[] |
no |
namespace |
Kubernetes namespace for Materialize |
string |
"materialize" |
no |
network_config |
Network configuration for the GKE cluster |
object({ subnet_cidr = string pods_cidr = string services_cidr = string }) |
{ "pods_cidr": "10.48.0.0/14", "services_cidr": "10.52.0.0/20", "subnet_cidr": "10.0.0.0/20" } |
no |
operator_namespace |
Namespace for the Materialize operator |
string |
"materialize" |
no |
operator_version |
Version of the Materialize operator to install |
string |
null |
no |
orchestratord_version |
Version of the Materialize orchestrator to install |
string |
"v0.130.4" |
no |
prefix |
Prefix to be used for resource names |
string |
"materialize" |
no |
project_id |
The ID of the project where resources will be created |
string |
n/a |
yes |
region |
The region where resources will be created |
string |
"us-central1" |
no |
use_local_chart |
Whether to use a local chart instead of one from a repository |
bool |
false |
no |