-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
73 lines (61 loc) · 2.1 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
variable "network" {
type = string
description = "Network CIDR to be used for VPC"
}
variable "vpc_name" {
type = string
description = "Do NOT use. Added just to provide compatibility for misc EKS cluster"
default = ""
}
variable "cluster_name" {
type = string
description = "EKS Cluster Name"
}
variable "cluster_admins" {
type = list(string)
description = "List of EKS Cluster administrators"
}
variable "cluster_enabled_log_types" {
type = list(string)
description = "List of Cloudwatch EKS Control Plane log types to enable"
default = ["api", "audit", "authenticator", "controllerManager", "scheduler"]
}
variable "default_instance_types" {
type = list(string)
description = "Karpenter Provisioner EC2 instance types"
default = ["t3a.small", "t3a.medium", "m6a.large", "m6a.xlarge", "m6a.2xlarge", "m6a.4xlarge", "c6a.large", "c6a.xlarge", "c6a.2xlarge", "c6a.4xlarge", "r6a.large", "r6a.xlarge", "r6a.2xlarge", "r6a.4xlarge"]
}
variable "production_instance_types" {
type = list(string)
description = "Karpenter Production Provisioner EC2 instance types"
default = ["m6a.large", "m6a.xlarge", "m6a.2xlarge", "m6a.4xlarge", "c6a.large", "c6a.xlarge", "c6a.2xlarge", "c6a.4xlarge", "r6a.large", "r6a.xlarge", "r6a.2xlarge", "r6a.4xlarge"]
}
variable "node_instance_arch" {
type = list(string)
description = "Karpenter Provisioner EC2 instance architecture"
default = ["amd64"]
}
variable "node_instance_capacity_types" {
type = list(string)
description = "Karpenter Provisioner EC2 instance capacity type"
default = ["spot", "on-demand"]
}
variable "tags" {
type = map(string)
description = "Map of tags for all resources"
}
variable "github_owner" {
type = string
description = "Flux github owner"
default = "DigitalMOB2"
}
variable "flux_repository_name" {
type = string
description = "Flux github repository name"
default = "infrastructure"
}
variable "flux_branch" {
type = string
description = "branch name"
default = "master"
}