From 4d0b2d756db59bccbee2eace4b9c3819bf4ef752 Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 14 Oct 2021 12:37:52 -0400 Subject: [PATCH] remove --- common/variables.eks-common.tf | 18 ++++++++ common/variables.eks-nodegroup.tf | 30 +++++++++++++ common/variables.eks.tf | 60 -------------------------- patch-aws-auth/variables.eks-common.tf | 1 + patch-aws-auth/variables.eks.tf | 1 - 5 files changed, 49 insertions(+), 61 deletions(-) create mode 100644 common/variables.eks-common.tf create mode 100644 common/variables.eks-nodegroup.tf delete mode 100644 common/variables.eks.tf create mode 120000 patch-aws-auth/variables.eks-common.tf delete mode 120000 patch-aws-auth/variables.eks.tf diff --git a/common/variables.eks-common.tf b/common/variables.eks-common.tf new file mode 100644 index 0000000..60271e7 --- /dev/null +++ b/common/variables.eks-common.tf @@ -0,0 +1,18 @@ +variable "cluster_name" { + description = "EKS cluster name name component used through out the EKS cluster describing its purpose (ex: dice-dev)" + type = string + default = null +} + +variable "cluster_version" { + description = "The EKS Kubernetes version number, see https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html" + type = string + default = "1.21" +} + + +variable "domain" { + description = "The DNS domain name of the cluster. Defaults to empty which causes the sample application to use the domain assigned to the load balancer of the istio ingress gateway." + type = string + default = "" +} diff --git a/common/variables.eks-nodegroup.tf b/common/variables.eks-nodegroup.tf new file mode 100644 index 0000000..f075b6e --- /dev/null +++ b/common/variables.eks-nodegroup.tf @@ -0,0 +1,30 @@ +variable "instance_type" { + description = "EKS worker node instance type (default: t3.xlarge)" + type = string + default = "t3.xlarge" +} + +variable "nodegroup_desired_size" { + description = "EKS Nodegroup desire size (default: 1)" + type = number + default = 1 +} + +variable "nodegroup_minumum_size" { + description = "EKS Nodegroup minimum size (default: 1)" + type = number + default = 1 +} + +variable "nodegroup_maximum_size" { + description = "EKs Nodegroup maximum size (default: 16)" + type = number + default = 16 +} + +variable "nodegroup_instance_disk_size" { + description = "The size of EKS nodegroup EBS disk in gigabytes (default: 40)" + type = number + default = 40 +} + diff --git a/common/variables.eks.tf b/common/variables.eks.tf deleted file mode 100644 index fd44b5f..0000000 --- a/common/variables.eks.tf +++ /dev/null @@ -1,60 +0,0 @@ -## variable "vpc_name" { -## description = "Define the VPC name that will be used by this cluster to find the VPC ID" -## type = string -## # default = "" -## } -## -## variable "subnets_name" { -## description = "Define the name of the subnets to be used by this cluster" -## type = string -## # default = "" -## } - -variable "cluster_name" { - description = "EKS cluster name name component used through out the EKS cluster describing its purpose (ex: dice-dev)" - type = string - default = null -} - -variable "cluster_version" { - description = "The EKS Kubernetes version number, see https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html" - type = string - default = "1.21" -} - -variable "instance_type" { - description = "EKS worker node instance type (default: t3.xlarge)" - type = string - default = "t3.xlarge" -} - -variable "nodegroup_desired_size" { - description = "EKS Nodegroup desire size (default: 1)" - type = number - default = 1 -} - -variable "nodegroup_minumum_size" { - description = "EKS Nodegroup minimum size (default: 1)" - type = number - default = 1 -} - -variable "nodegroup_maximum_size" { - description = "EKs Nodegroup maximum size (default: 16)" - type = number - default = 16 -} - -variable "nodegroup_instance_disk_size" { - description = "The size of EKS nodegroup EBS disk in gigabytes (default: 40)" - type = number - default = 40 -} - -variable "domain" { - description = "The DNS domain name of the cluster. Defaults to empty which causes the sample application to use the domain assigned to the load balancer of the istio ingress gateway." - type = string - default = "" -} - diff --git a/patch-aws-auth/variables.eks-common.tf b/patch-aws-auth/variables.eks-common.tf new file mode 120000 index 0000000..d4d420d --- /dev/null +++ b/patch-aws-auth/variables.eks-common.tf @@ -0,0 +1 @@ +../common/variables.eks-common.tf \ No newline at end of file diff --git a/patch-aws-auth/variables.eks.tf b/patch-aws-auth/variables.eks.tf deleted file mode 120000 index e7dc7b7..0000000 --- a/patch-aws-auth/variables.eks.tf +++ /dev/null @@ -1 +0,0 @@ -../common/variables.eks.tf \ No newline at end of file