forked from WesleyCharlesBlake/terraform-aws-eks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
105 lines (86 loc) · 2.74 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Variables Configuration
variable "cluster-name" {
default = "eks-cluster"
type = string
description = "The name of your EKS Cluster"
}
variable "aws-region" {
default = "us-east-1"
type = string
description = "The AWS Region to deploy EKS"
}
variable "availability-zones" {
default = ["us-east-1a", "us-east-1b", "us-east-1c"]
type = list
description = "The AWS AZ to deploy EKS"
}
variable "k8s-version" {
default = "1.17"
type = string
description = "Required K8s version"
}
variable "kublet-extra-args" {
default = ""
type = string
description = "Additional arguments to supply to the node kubelet process"
}
variable "public-kublet-extra-args" {
default = ""
type = string
description = "Additional arguments to supply to the public node kubelet process"
}
variable "vpc-subnet-cidr" {
default = "10.0.0.0/16"
type = string
description = "The VPC Subnet CIDR"
}
variable "private-subnet-cidr" {
default = ["10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19"]
type = list
description = "Private Subnet CIDR"
}
variable "public-subnet-cidr" {
default = ["10.0.128.0/20", "10.0.144.0/20", "10.0.160.0/20"]
type = list
description = "Public Subnet CIDR"
}
variable "db-subnet-cidr" {
default = ["10.0.192.0/21", "10.0.200.0/21", "10.0.208.0/21"]
type = list
description = "DB/Spare Subnet CIDR"
}
variable "eks-cw-logging" {
default = ["api", "audit", "authenticator", "controllerManager", "scheduler"]
type = list
description = "Enable EKS CWL for EKS components"
}
variable "node-instance-type" {
default = "m4.large"
type = string
description = "Worker Node EC2 instance type"
}
variable "root-block-size" {
default = "20"
type = string
description = "Size of the root EBS block device"
}
variable "desired-capacity" {
default = 2
type = string
description = "Autoscaling Desired node capacity"
}
variable "max-size" {
default = 5
type = string
description = "Autoscaling maximum node capacity"
}
variable "min-size" {
default = 1
type = string
description = "Autoscaling Minimum node capacity"
}
variable "ec2-key-public-key" {
default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 [email protected]"
type = string
description = "AWS EC2 public key data"
}