diff --git a/README.md b/README.md index b93ff39..36e3f38 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ No modules. | [kubernetes_namespace.materialize](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace) | resource | | [kubernetes_namespace.monitoring](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace) | resource | | [kubernetes_secret.materialize_backends](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/secret) | resource | +| [kubernetes_resource.materialize_instances](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/resource) | data source | ## Inputs @@ -69,12 +70,12 @@ No modules. | [helm\_repository](#input\_helm\_repository) | Repository URL for the Materialize operator Helm chart. Leave empty if using local chart. | `string` | `"https://materializeinc.github.io/materialize/"` | no | | [helm\_values](#input\_helm\_values) | Values to pass to the Helm chart | `any` | n/a | yes | | [install\_metrics\_server](#input\_install\_metrics\_server) | Whether to install the metrics-server | `bool` | `true` | no | -| [instances](#input\_instances) | Configuration for Materialize instances |
list(object({
name = string
namespace = optional(string)
create_database = optional(bool, true)
database_name = string
metadata_backend_url = string
persist_backend_url = string
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, true)
request_rollout = optional(string, "00000000-0000-0000-0000-000000000000")
force_rollout = optional(string, "00000000-0000-0000-0000-000000000000")
balancer_memory_request = optional(string, "256Mi")
balancer_memory_limit = optional(string, "256Mi")
balancer_cpu_request = optional(string, "100m")
}))
| `[]` | no | +| [instances](#input\_instances) | Configuration for Materialize instances |
list(object({
name = string
namespace = optional(string)
create_database = optional(bool, true)
database_name = string
metadata_backend_url = string
persist_backend_url = string
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, true)
request_rollout = optional(string, "00000000-0000-0000-0000-000000000001")
force_rollout = optional(string, "00000000-0000-0000-0000-000000000001")
balancer_memory_request = optional(string, "256Mi")
balancer_memory_limit = optional(string, "256Mi")
balancer_cpu_request = optional(string, "100m")
}))
| `[]` | no | | [metrics\_server\_version](#input\_metrics\_server\_version) | Version of metrics-server to install | `string` | `"3.12.2"` | no | | [monitoring\_namespace](#input\_monitoring\_namespace) | Namespace for monitoring resources | `string` | `"monitoring"` | no | | [namespace](#input\_namespace) | Namespace prefix for all resources | `string` | n/a | yes | | [operator\_namespace](#input\_operator\_namespace) | Namespace for the Materialize operator | `string` | `"materialize"` | no | -| [operator\_version](#input\_operator\_version) | Version of the Materialize operator to install | `string` | `"v25.1.2"` | no | +| [operator\_version](#input\_operator\_version) | Version of the Materialize operator to install | `string` | `"v25.1.4"` | no | | [postgres\_version](#input\_postgres\_version) | Postgres version to use for the metadata backend | `string` | `"15"` | no | | [use\_local\_chart](#input\_use\_local\_chart) | Whether to use a local chart instead of one from a repository | `bool` | `false` | no | @@ -82,6 +83,7 @@ No modules. | Name | Description | |------|-------------| +| [materialize\_instance\_resource\_ids](#output\_materialize\_instance\_resource\_ids) | Resource IDs of created Materialize instances | | [materialize\_instances](#output\_materialize\_instances) | Details of created Materialize instances | | [operator\_namespace](#output\_operator\_namespace) | Namespace where the operator is installed | | [operator\_release\_name](#output\_operator\_release\_name) | Helm release name of the operator | diff --git a/variables.tf b/variables.tf index b7f86dc..f841083 100644 --- a/variables.tf +++ b/variables.tf @@ -11,7 +11,8 @@ variable "environment" { variable "operator_version" { description = "Version of the Materialize operator to install" type = string - default = "v25.1.2" + default = "v25.1.4" + nullable = false } variable "helm_repository" {