Skip to content

Commit

Permalink
use locals instead of variables
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjeong46 committed Feb 20, 2024
1 parent b1ab88d commit 40ba822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions distributed-databases/trino/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
12 changes: 0 additions & 12 deletions distributed-databases/trino/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 40ba822

Please sign in to comment.