Skip to content

MaterializeInc/terraform-helm-materialize

Repository files navigation

terraform-helm-materialize

Terraform module for installing the Materialize Helm chart

Terraform module for installing the Materialize Helm Chart

This module installs the Materialize Helm chart into a Kubernetes cluster using Terraform.

Requirements

Name Version
terraform >= 1.0
aws ~> 5.0
helm ~> 2.0
kubernetes ~> 2.0

Providers

Name Version
helm 2.17.0
kubernetes 2.35.1

Modules

No modules.

Resources

Name Type
helm_release.materialize_operator resource
kubernetes_job.db_init_job resource
kubernetes_manifest.materialize_instances resource
kubernetes_namespace.instance_namespaces resource
kubernetes_namespace.materialize resource
kubernetes_secret.materialize_backends resource

Inputs

Name Description Type Default Required
environment Environment name string n/a yes
helm_repository Repository URL for the Materialize operator Helm chart string "https://materializeinc.github.io/materialize/" no
helm_values Values to pass to the Helm chart any n/a yes
instances Configuration for Materialize instances
list(object({
name = string
namespace = optional(string)
database_name = string
metadata_backend_url = string
persist_backend_url = string
environmentd_version = optional(string, "v0.130.0")
cpu_request = optional(string, "1")
memory_request = optional(string, "1Gi")
memory_limit = optional(string, "1Gi")
}))
[] no
namespace Namespace prefix for all resources string n/a yes
operator_namespace Namespace for the Materialize operator string "materialize" no
operator_version Version of the Materialize operator to install string "v25.1.0-beta.1" no
postgres_version Postgres version to use for the metadata backend string "15" no

Outputs

Name Description
materialize_instances Details of created Materialize instances
operator_namespace Namespace where the operator is installed
operator_release_name Helm release name of the operator
operator_release_status Status of the helm release