-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
54 lines (46 loc) · 1.34 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
variable "civo_token" {
type = string
description = "Civo API token"
}
variable "region" {
type = string
description = "The region to provision the cluster against"
}
variable "environment" {
default = "dev"
description = "The environment to deploy to"
type = string
}
variable "kubernetes_api_access" {
description = "List of Subnets allowed to access the Kube API"
type = list(any)
default = ["0.0.0.0/0"]
}
variable "lb_access" {
description = "List of Subnets allowed to access via the Load Balancer (websecure)"
type = list(any)
default = ["0.0.0.0/0"]
}
variable "database_access" {
description = "List of Subnets allowed to access via the Load Balancer"
type = list(any)
default = ["0.0.0.0/0"]
}
variable "database_size" {
type = string
default = "g3.db.small"
description = "The size of the database to provision. Run `civo size list` for all options"
}
variable "database_nodes" {
type = number
default = "1"
description = "Number of nodes in the database pool"
}
variable "domain" {
type = string
description = "The domain to use for ingress. This is used by external-dns to create DNS records and needs to be pre-register with civo.com"
}
variable "email" {
type = string
description = "The email to use for letsencrypt"
}