-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
81 lines (69 loc) · 1.81 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
variable "redis_global_api_key" {
description = "Global API key for Redis Cloud account"
type = string
default = "incorrect"
sensitive = true
}
variable "redis_global_secret_key" {
description = "Global API Secret (USER KEY) for Redis Cloud account"
type = string
default = "incorrect"
sensitive = true
}
variable "subscription_name" {
type = string
description = "The name of the RedisCloud subscription"
}
variable "database_name" {
type = string
description = "The name of the RedisCloud database"
default = "test-db"
}
variable "dataset_size_in_gb" {
type = number
description = "Memory limit in GB for the database"
default = 1
}
variable "data_persistence" {
type = string
description = "Data persistence setting"
default = "none"
}
variable "throughput_measurement_value" {
type = number
description = "Throughput measurement in operations per second"
default = 1000
}
variable "modules" {
type = list(string)
description = "List of Redis modules to enable"
default = ["RedisJSON", "RediSearch", "RedisBloom", "RedisTimeSeries"]
}
variable "replication" {
type = bool
description = "Whether or not replication should be enabled"
default = false
}
variable "acl_rule_name" {
type = string
description = "Lets use Full-Acess for now"
default = "Full-Access"
}
variable "enable_tls" {
type = bool
description = "Enable TLS for the database"
default = false
}
variable "tags" {
type = map(string)
description = "Custom tags for the database"
default = {
"market" = "Brasil"
}
}
variable "user_password" {
type = string
description = "Password for the ACL user"
sensitive = true
default = "G4bZ#N3rd0l4!"
}