-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
96 lines (80 loc) · 2.15 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
variable "aws_region" {
type = string
default = "us-east-1"
description = "Region used to create cluster"
}
variable "cluster_name" {
type = string
default = "RancherMC"
description = "Name of the Rancher cluster"
}
variable "cluster_version" {
type = string
default = "1.27"
description = "Kubernetes version of EKS cluster"
}
variable "instance_size" {
type = string
default = "t3.medium"
description = "Instance of EC2 Workers"
}
variable "node_group_name" {
type = string
default = "rancher-node-group"
description = "Name of the EKS node group"
}
variable "rancher_hostname" {
type = string
default = "rancher.trentonvanderwert.com"
description = "The hostname set on the ingress of rancher"
}
variable "bootstrapPassword" {
type = string
default = "admin"
description = "Default password for initial Rancher set-up"
}
variable "letsEncryptEmail" {
type = string
default = "[email protected]"
description = "Email used for letsEncrypt"
}
variable "vpc_cidr" {
type = string
default = "10.0.0.0/16"
description = "The network assigned to the VPC"
}
variable "az_a" {
type = string
default = "us-east-1a"
description = "Availibilty Zone for Subnet A"
}
variable "az_b" {
type = string
default = "us-east-1b"
description = "Availibility Zone for Subnet B"
}
variable "az_subnet" {
type = number
default = 8
description = "Number of additional bits needed to get from the VPC cidr to subnet"
}
variable "worker_iam_role_name" {
type = string
default = "eksRancherWorker"
description = "Name of the Worker Node iam role"
}
variable "cluster_iam_role_name" {
type = string
default = "eksRancherCluster"
description = "Name of the Worker Node iam role"
}
variable "cloudwatch_iam_role_name" {
type = string
default = "eksCloudwatch"
description = "Name of the Worker Node iam role"
}
variable "elb_iam_role_name" {
type = string
default = "eksELBPolicy"
description = "Name of the Worker Node iam role"
}