Skip to content

Commit d57d844

Browse files
Merge pull request #36 from MaterializeInc/license_key_support
license key support
2 parents a62704c + 3cd9d13 commit d57d844

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ No providers.
8989
| <a name="module_database"></a> [database](#module\_database) | ./modules/database | n/a |
9090
| <a name="module_load_balancers"></a> [load\_balancers](#module\_load\_balancers) | ./modules/load_balancers | n/a |
9191
| <a name="module_networking"></a> [networking](#module\_networking) | ./modules/networking | n/a |
92-
| <a name="module_operator"></a> [operator](#module\_operator) | github.com/MaterializeInc/terraform-helm-materialize | v0.1.10 |
92+
| <a name="module_operator"></a> [operator](#module\_operator) | github.com/MaterializeInc/terraform-helm-materialize | v0.1.11 |
9393
| <a name="module_storage"></a> [storage](#module\_storage) | ./modules/storage | n/a |
9494

9595
## Resources
@@ -110,7 +110,7 @@ No resources.
110110
| <a name="input_install_cert_manager"></a> [install\_cert\_manager](#input\_install\_cert\_manager) | Whether to install cert-manager. | `bool` | `true` | no |
111111
| <a name="input_install_materialize_operator"></a> [install\_materialize\_operator](#input\_install\_materialize\_operator) | Whether to install the Materialize operator | `bool` | `true` | no |
112112
| <a name="input_location"></a> [location](#input\_location) | The location where resources will be created | `string` | `"eastus2"` | no |
113-
| <a name="input_materialize_instances"></a> [materialize\_instances](#input\_materialize\_instances) | Configuration for Materialize instances | <pre>list(object({<br/> name = string<br/> namespace = optional(string)<br/> database_name = string<br/> environmentd_version = optional(string)<br/> cpu_request = optional(string, "1")<br/> memory_request = optional(string, "1Gi")<br/> memory_limit = optional(string, "1Gi")<br/> create_database = optional(bool, true)<br/> create_load_balancer = optional(bool, true)<br/> internal_load_balancer = optional(bool, true)<br/> in_place_rollout = optional(bool, false)<br/> request_rollout = optional(string)<br/> force_rollout = optional(string)<br/> balancer_memory_request = optional(string, "256Mi")<br/> balancer_memory_limit = optional(string, "256Mi")<br/> balancer_cpu_request = optional(string, "100m")<br/> }))</pre> | `[]` | no |
113+
| <a name="input_materialize_instances"></a> [materialize\_instances](#input\_materialize\_instances) | Configuration for Materialize instances | <pre>list(object({<br/> name = string<br/> namespace = optional(string)<br/> database_name = string<br/> environmentd_version = optional(string)<br/> cpu_request = optional(string, "1")<br/> memory_request = optional(string, "1Gi")<br/> memory_limit = optional(string, "1Gi")<br/> create_database = optional(bool, true)<br/> create_load_balancer = optional(bool, true)<br/> internal_load_balancer = optional(bool, true)<br/> in_place_rollout = optional(bool, false)<br/> request_rollout = optional(string)<br/> force_rollout = optional(string)<br/> balancer_memory_request = optional(string, "256Mi")<br/> balancer_memory_limit = optional(string, "256Mi")<br/> balancer_cpu_request = optional(string, "100m")<br/> license_key = optional(string)<br/> }))</pre> | `[]` | no |
114114
| <a name="input_namespace"></a> [namespace](#input\_namespace) | Namespace for all resources, usually the organization or project name | `string` | `"materialize"` | no |
115115
| <a name="input_network_config"></a> [network\_config](#input\_network\_config) | Network configuration for the AKS cluster | <pre>object({<br/> vnet_address_space = string<br/> subnet_cidr = string<br/> postgres_subnet_cidr = string<br/> service_cidr = string<br/> docker_bridge_cidr = string<br/> })</pre> | n/a | yes |
116116
| <a name="input_operator_namespace"></a> [operator\_namespace](#input\_operator\_namespace) | Namespace for the Materialize operator | `string` | `"materialize"` | no |

examples/simple/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ variable "materialize_instances" {
163163
balancer_memory_request = optional(string, "256Mi")
164164
balancer_memory_limit = optional(string, "256Mi")
165165
balancer_cpu_request = optional(string, "100m")
166+
license_key = optional(string)
166167
}))
167168
default = []
168169
}

main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ locals {
160160
module.storage.primary_blob_sas_token
161161
)
162162

163+
license_key = instance.license_key
164+
163165
create_load_balancer = instance.create_load_balancer
164166
internal_load_balancer = instance.internal_load_balancer
165167

@@ -179,7 +181,7 @@ locals {
179181
}
180182

181183
module "operator" {
182-
source = "github.com/MaterializeInc/terraform-helm-materialize?ref=v0.1.10"
184+
source = "github.com/MaterializeInc/terraform-helm-materialize?ref=v0.1.11"
183185

184186
count = var.install_materialize_operator ? 1 : 0
185187

variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ variable "materialize_instances" {
140140
balancer_memory_request = optional(string, "256Mi")
141141
balancer_memory_limit = optional(string, "256Mi")
142142
balancer_cpu_request = optional(string, "100m")
143+
license_key = optional(string)
143144
}))
144145
default = []
145146
}

0 commit comments

Comments
 (0)