From c69c2970855b994c4dc303579be0609bebee66d8 Mon Sep 17 00:00:00 2001 From: K Kushal Varma Date: Wed, 8 Feb 2023 14:56:42 +0530 Subject: [PATCH] resolved type constraints issue in variables.tf and argument definition issue in eks-vpc.tf --- eks-vpc.tf | 2 +- variables.tf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eks-vpc.tf b/eks-vpc.tf index 84bee55..6914016 100755 --- a/eks-vpc.tf +++ b/eks-vpc.tf @@ -102,7 +102,7 @@ resource "aws_route_table" "eks-private" { vpc_id = "${aws_vpc.eks.id}" tags { - Name = "route table for private subnets", + Name = "route table for private subnets" } } diff --git a/variables.tf b/variables.tf index 53d05d5..4eab141 100644 --- a/variables.tf +++ b/variables.tf @@ -1,6 +1,6 @@ variable "cluster-name" { description = "Enter eks cluster name - example like eks-demo, eks-dev etc" - type = "string" + type = string } variable "eks-worker-ami" { @@ -23,13 +23,13 @@ variable "ssh_key_pair" { } variable "public_subnets" { - type = "list" + type = list description = "you can replace these values as per your choice of subnet range" default = ["10.15.0.0/22", "10.15.4.0/22", "10.15.8.0/22"] } variable "private_subnets" { - type = "list" + type = list description = "you can replace these values as per your choice of subnet range" default = ["10.15.12.0/22", "10.15.16.0/22", "10.15.20.0/22"] }