-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
70 lines (59 loc) · 1.61 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
variable "cf_space_id" {
description = "Cloudfoundry space id to provision resources in"
type = string
}
variable "name_postfix" {
type = string
description = "The postfix string to append to the space, hostname, etc. Prevents namespace clashes"
default = ""
}
variable "exporter_image" {
description = "Image to use for Redis exporter"
default = "quay.io/prometheuscommunity/postgres-exporter:latest"
type = string
}
variable "docker_username" {
description = "Docker username to use"
type = string
default = ""
}
variable "docker_password" {
description = "Docker password to use"
type = string
default = ""
}
variable "plan" {
description = "Plan to use"
type = string
default = "postgres-micro-dev"
}
variable "exporter_memory" {
type = number
description = "Exporter memory settings"
default = 64
}
variable "exporter_disk_quota" {
type = number
description = "Exporter disk quota"
default = 1024
}
variable "exporter_environment" {
type = map(any)
description = "Additional configuration for the exporter"
default = {}
}
variable "replace_on_service_plan_change" {
type = bool
description = "Replaces the instance in case of service plan change. Does not preserve data!"
default = false
}
variable "max_allocated_storage" {
type = number
description = "Sets the maximum storage size (in GB). Enables autoscaling"
default = 100
}
variable "json_params" {
type = map(any)
description = "provide parameters to configure"
default = {}
}