-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
128 lines (104 loc) · 2.5 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
variable "protect_leader" {
type = bool
description = "Protect the database leader node"
default = true
}
variable "blueprint" {
description = "Identifier of the blueprint"
type = string
}
variable "region" {
description = "AWS region"
type = string
}
variable "identifier" {
description = "Name of your cluster"
type = string
}
variable "balancer" {
description = "Enable Load Balancer"
default = false
}
variable "global_accelerator" {
description = "Enable Global Accelerator"
default = false
}
variable "balancer_deletion_protection" {
description = "Enable balancer deletion protection"
default = true
}
variable "ami_architecture" {
description = "The architecture of the AMI"
default = "amd64"
type = string
}
variable "publicly_accessible" {
description = "Make the cluster publically accessible? If you use a load balancer this can be false."
default = true
}
variable "ssm" {
description = "Enable SSM"
default = false
}
variable "vpc_ip_range" {
description = "VPC ip range"
type = string
}
variable "network_dependencies" {
description = "value"
default = []
}
variable "vpc_id" {
description = "vpc id to pass in if block type is compute"
type = string
}
variable "public_subnet_ids" {
description = "Public subnet ids to pass in if block type is compute"
type = list(string)
}
variable "bastion_size" {
description = "Bastion instance type?"
default = "t3a.micro"
}
variable "bastion_ssh" {
description = "Enable SSH port"
default = true
}
variable "balancer_ssh" {
description = "Enable SSH port on balancer"
default = true
}
variable "node_size" {
description = "Which instance type?"
default = "t3a.medium"
}
variable "node_monitoring" {
description = "Enable / Disable detailed monitoring"
default = false
}
variable "storage_size" {
description = "How much storage on your nodes?"
default = 40
}
variable "volume_type" {
description = "Type of EBS Volume to use"
default = "gp3"
}
variable "cluster_topology" {
type = list(object({
id = number
name = string
size = optional(string, "t3.medium")
}))
description = "How many nodes do you want in your cluster?"
default = []
}
variable "node_detail_revision" {
description = "The revision of the node detail"
default = 1
}
variable "ssh_keys" {
type = list(string)
description = "List of ssh key names"
default = []
}