-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathio.tf
64 lines (53 loc) · 1.58 KB
/
io.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
variable "civo_token" {}
variable "region" {
type = string
default = "FRA1"
description = "The region to provision the cluster against"
}
variable "cluster_name_prefix" {
description = "Prefix to append to the name of the cluster being created"
type = string
default = "tf-template-"
}
variable "cluster_node_size" {
type = string
default = "g4s.kube.medium"
description = "The size of the nodes to provision. Run `civo size list` for all options"
}
variable "cluster_node_count" {
description = "Number of nodes in the default pool"
type = number
default = 3
}
# Firewall Access
variable "kubernetes_api_access" {
description = "List of Subnets allowed to access the Kube API"
type = list(any)
default = ["0.0.0.0/0"]
}
variable "cluster_web_access" {
description = "List of Subnets allowed to access port 80 via the Load Balancer"
type = list(any)
default = ["0.0.0.0/0"]
}
variable "cluster_websecure_access" {
description = "List of Subnets allowed to access port 443 via the Load Balancer"
type = list(any)
default = ["0.0.0.0/0"]
}
variable "object_store_enabled" {
description = "Should an object store be configured"
type = bool
default = false
}
variable "object_store_size" {
description = "Size of the Object Store to create (multiples of 500)"
type = number
default = 500
}
variable "object_store_prefix" {
description = "Prefix to append to the name of the object store being created"
type = string
default = "tf-template-"
}
# Output