File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,7 @@ variable "node_pools" {
332
332
# Potentially we upgrade Terraform modules and versions and we bump our minimum required terraform version to be >1.3
333
333
# then at that time I can deprecate this variable and instead allow the user to configure node_locations per node pool.
334
334
# Refer to https://github.com/hashicorp/terraform/issues/29407#issuecomment-1150491619
335
+
335
336
variable "nodepools_locations" {
336
337
description = " GCP zone(s) where the additional node pools will allocate nodes in. Comma separated list."
337
338
type = string
@@ -382,7 +383,7 @@ variable "postgres_server_defaults" {
382
383
availability_type = " ZONAL"
383
384
ssl_enforcement_enabled = true
384
385
database_flags = []
385
- edition = null
386
+ edition = " ENTERPRISE "
386
387
}
387
388
}
388
389
@@ -391,13 +392,9 @@ variable "postgres_servers" {
391
392
description = " Map of PostgreSQL server objects"
392
393
type = any
393
394
default = {
394
- default = {
395
- server_version = " 15"
396
- edition = " ENTERPRISE"
397
- machine_type = " db-custom-4-16384"
398
- }
395
+ default = {}
399
396
}
400
-
397
+
401
398
# Checking for user provided "default" server
402
399
validation {
403
400
condition = var. postgres_servers != null ? length (var. postgres_servers ) != 0 ? contains (keys (var. postgres_servers ), " default" ) : false : true
@@ -599,7 +596,6 @@ variable "gke_network_policy" {
599
596
default = false
600
597
}
601
598
602
-
603
599
variable "create_static_kubeconfig" {
604
600
description = " Allows the user to create a provider / service account based kube config file"
605
601
type = bool
You can’t perform that action at this time.
0 commit comments