-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
79 lines (66 loc) · 2.41 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
/*
---------------------------------------------------------|------------------------------------------------------------
Global Variables
---------------------------------------------------------|------------------------------------------------------------
*/
variable "envBuild" {
description = "Build Environment; from ENV; E.G.: envBuild=stage"
type = string
}
variable "myCo" {
description = "Expands to Company Name; E.G.: my-company"
type = string
}
variable "project" {
description = "Project Name: should be set to something like: eks-test"
type = string
}
variable "region" {
description = "Deployment Region; from ENV; E.G.: us-west-2"
type = string
}
variable "dns_zone" {
description = "Root DNS Zone for myCo; I.E.: example.tld."
type = string
}
variable "cluster_apps" {
description = "The Cluster Name; I.E.: $myProject-$envBuild"
type = string
}
#variable "domain" {
# description = "Root DNS Zone for myCo; I.E.: example.tld; minus the trailing dot"
# type = string
#}
variable "host_cidr" {
description = "CIDR block reserved for networking; E.G.: 10.172.0.0/16"
type = string
}
variable "zone_private" {
description = "The zone is either private (true) or it's public (false)."
type = string
}
variable "officeIPAddr" {
description = "The IP address of the Current (outbound) Gateway: individual A.B.C.D/32 or block A.B.C.D/29"
type = string
}
/*
---------------------------------------------------------|------------------------------------------------------------
Kubernetes Variables
---------------------------------------------------------|------------------------------------------------------------
*/
variable "kubeNode_type" {
description = "EKS worker node type, from ENV; E.G.: export TF_VAR_kubeNode_type=t3.medium"
type = string
}
variable "minDistSize" {
description = "ENV Integer; initial count of distributed subnets, workers, etc; E.G.: export TF_VAR_minDistSize=3"
type = number
}
variable "maxDistSize" {
description = "ENV Integer; max count of distributed EKS workers; E.G.: export TF_VAR_minDistSize=12"
type = number
}
variable "DATADOG_UUID" {
description = "Preferably a v4 UUID; E.G.: cb3600cb-23bc-4d05-b841-6825e7a3daf5"
type = string
}