-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
64 lines (54 loc) · 1.47 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
variable "token" {
description = "API token with read/write permissions"
type = string
sensitive = true
}
variable "region" {
description = "Datacenter region to deploy all the resources"
type = string
}
variable "prefix" {
description = "Resource prefix"
type = string
default = "pf"
}
variable "slave-count" {
description = "Number of proxy slaves to deploy"
type = number
default = 2
}
variable "lb-count" {
description = "Number of master nodes to setup for load balancer, min 1 is required"
type = number
default = 1
}
variable "tag-name" {
description = "Tag name to group slave droplets"
type = string
default = "proxy-forge-slave"
}
variable "droplet-size" {
description = "Droplet size to use"
type = object({
slave = string
})
default = {
slave = "s-1vcpu-1gb-amd"
}
}
variable "project" {
description = "Name of the project to associate all the resources"
type = string
default = "Proxy Forge"
}
variable "ssh-fingerprint" {
description = "SSH fingerprint id for droplets to use. If this is ommited, it will send you one-time-password on the email."
type = string
sensitive = true
default = null
}
variable "squid-credentials" {
description = "Squid proxy HTTP basic authentication credentials"
type = object({ username = string, password = string })
default = { password = "proxyforge", username = "proxyforge" }
}