From 60bec85923165fb2074f4d979bdcbfaab6807af6 Mon Sep 17 00:00:00 2001 From: sekharpanja Date: Tue, 18 Feb 2025 10:23:57 +0000 Subject: [PATCH] adding defaults to matchbox vars --- infra/main.tf | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/infra/main.tf b/infra/main.tf index b0571b9..f9e56cc 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -282,13 +282,34 @@ variable "matchbox_dev_mode_on" { type = bool default = false } -variable "vpc_matchbox_cidr" {} -variable "matchbox_instances" {} -variable "matchbox_instances_long" {} -variable "matchbox_db_instance_class" {} -variable "vpc_matchbox_subnets_num_bits" {} -variable "matchbox_s3_cache" {} -variable "matchbox_s3_dev_artefacts" {} +variable "vpc_matchbox_cidr" { + type = string + default = "" +} +variable "matchbox_instances" { + type = list(string) + default = [] +} +variable "matchbox_instances_long" { + type = list(string) + default = [] +} +variable "matchbox_db_instance_class" { + type = string + default = "" +} +variable "vpc_matchbox_subnets_num_bits" { + type = string + default = "" +} +variable "matchbox_s3_cache" { + type = string + default = "" +} +variable "matchbox_s3_dev_artefacts" { + type = string + default = "" +} locals { admin_container_name = "jupyterhub-admin"