From 0be1a9e9b59aeed62ca3a20536014ee0e7f01a33 Mon Sep 17 00:00:00 2001 From: Rustie Lin Date: Tue, 19 Apr 2022 17:17:04 -0700 Subject: [PATCH] [tf][indexer] so vars work with no indexer Closes: #564 --- terraform/testnet/variables.tf | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/terraform/testnet/variables.tf b/terraform/testnet/variables.tf index 5db3608aaaf2b..8fcfae24e2060 100644 --- a/terraform/testnet/variables.tf +++ b/terraform/testnet/variables.tf @@ -2,6 +2,22 @@ variable "region" { description = "AWS region" } +variable "zone_id" { + description = "Route53 Zone ID to create records in" + default = "" +} + +variable "tls_sans" { + description = "List of Subject Alternate Names to include in TLS certificate" + type = list(string) + default = [] +} + +variable "workspace_dns" { + description = "Include Terraform workspace name in DNS records" + default = true +} + variable "iam_path" { default = "/" description = "Path to use when naming IAM objects" @@ -90,22 +106,6 @@ variable "indexer_helm_values" { default = {} } -variable "zone_id" { - description = "Route53 Zone ID to create records in" - default = "" -} - -variable "tls_sans" { - description = "List of Subject Alternate Names to include in TLS certificate" - type = list(string) - default = [] -} - -variable "workspace_dns" { - description = "Include Terraform workspace name in DNS records" - default = true -} - variable "enable_pfn_logger" { description = "Enable separate public fullnode logger pod" default = false @@ -170,6 +170,7 @@ variable "enable_indexer" { variable "indexer_db_password" { description = "password for indexer RDS instance" + default = "" } variable "enable_k8s_metrics_server" {