From 73d51f5f9c25a6d0766e37b37431c910d346a8fc Mon Sep 17 00:00:00 2001 From: mybarretto Date: Tue, 23 Nov 2021 08:14:21 -0800 Subject: [PATCH] Cleaning up variables.tf file for eks module (#211) --- terraform-modules/aws/eks/variables.tf | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/terraform-modules/aws/eks/variables.tf b/terraform-modules/aws/eks/variables.tf index c59595db3..0ef4b7fae 100644 --- a/terraform-modules/aws/eks/variables.tf +++ b/terraform-modules/aws/eks/variables.tf @@ -1,7 +1,9 @@ variable "aws_region" { default = "us-east-1" } -variable "tags" {} +variable "tags" { + type = map(any) +} variable "vpc_id" { default = "" } @@ -15,8 +17,8 @@ variable "public_subnets" { } variable "k8s_subnets" { - type = list(any) - default = [] + type = list(any) + default = [] description = "Subnet IDs to place the EKS nodes into" } @@ -116,12 +118,12 @@ variable "cluster_log_retention_in_days" { variable "cluster_endpoint_private_access" { type = bool default = false - description = "Enable or disable Kube API private access" + description = "Enable or disable Kube API private access" } variable "cluster_endpoint_private_access_cidrs" { - type = list(string) - default = null + type = list(string) + default = null description = "Kube API public endpoint allow access cidrs" }