From 40ba822cadb0bbd9448809fb92f56c2d8c754044 Mon Sep 17 00:00:00 2001 From: Young Date: Tue, 20 Feb 2024 17:36:50 -0600 Subject: [PATCH] use locals instead of variables --- distributed-databases/trino/main.tf | 4 ++-- distributed-databases/trino/variables.tf | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/distributed-databases/trino/main.tf b/distributed-databases/trino/main.tf index b3c23c3de..a669c9b66 100644 --- a/distributed-databases/trino/main.tf +++ b/distributed-databases/trino/main.tf @@ -107,8 +107,8 @@ locals { name = var.name region = var.region - trino_namespace = var.namespace - trino_sa = var.trino_sa + trino_namespace = "trino" + trino_sa = "trino-sa" azs = slice(data.aws_availability_zones.available.names, 0, 3) diff --git a/distributed-databases/trino/variables.tf b/distributed-databases/trino/variables.tf index 9bd64ec0a..d71add981 100644 --- a/distributed-databases/trino/variables.tf +++ b/distributed-databases/trino/variables.tf @@ -10,18 +10,6 @@ variable "region" { default = "us-west-2" } -variable "namespace" { - description = "Namespace for Trino" - type = string - default = "trino" -} - -variable "trino_sa" { - description = "Service Account name for Trino" - type = string - default = "trino-sa" -} - variable "eks_cluster_version" { description = "EKS Cluster version" default = "1.29"