-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
95 lines (90 loc) · 1.86 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
// Variables for test environment
// Common variables
variable "env_name" {
default = "test"
}
// CIDR to use, at least /22 for Kapsule
variable "network_private_cidr" {
default = "192.168.0.0/22"
}
// Type of the Public Gateway
variable "network_pgw_type" {
default = "VPC-GW-S"
}
// SSH bastion on Public Gateway
variable "network_pgw_enable_bastion" {
default = true
}
variable "db_node_type" {
default = "DB-DEV-S"
}
// Username for db, Password is auto generated
variable "db_admin_name" {
default = "admin"
}
// Do we need HA or not
variable "db_is_ha" {
default = true
}
// Do we need read replica or not
variable "db_enable_read_replica" {
default = true
}
// Do we need backup or not
variable "db_disable_backup" {
default = false
}
// Frequency in hours
variable "db_backup_frequency" {
default = 24
}
// Retention in days
variable "db_backup_retention" {
default = 7
}
// Do we need a public endpoint
variable "db_disable_public_endpoint" {
default = true
}
// Config for the first pool
// Instance type
variable "cluster_pool_0_node_type" {
default = "PLAY2-NANO"
}
// Min number of instances
variable "cluster_pool_0_min_size" {
default = 1
}
// Max number of instances
variable "cluster_pool_0_max_size" {
default = 10
}
// Config for the second pool
// Do we need a second pool
variable "deploy_backup_pool" {
default = true
}
// Deploy the pool in another zone for better availability
variable "backup_pool_zone" {
default = "fr-par-2"
}
// Instance type
variable "cluster_pool_1_node_type" {
default = "PLAY2-MICRO"
}
// Min number of instances
variable "cluster_pool_1_min_size" {
default = 1
}
// Max number of instances
variable "cluster_pool_1_max_size" {
default = 10
}
// Do we need cert manager
variable "deploy_cert_manager" {
default = true
}
// Version for cert manager
variable "cert_manager_version" {
default = "v1.13.3"
}