generated from opsd-io/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
41 lines (35 loc) · 948 Bytes
/
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
variable "cluster_name" {
description = "The name of the database cluster."
type = string
nullable = false
}
variable "node_count" {
description = "Number of redis nodes that will be created."
type = number
default = 1
}
variable "node_size" {
description = "The redis node instance size."
type = string
default = "db-s-1vcpu-1gb"
}
variable "redis_version" {
description = "Engine version used by the cluster."
type = number
default = 7
}
variable "region" {
description = "DigitalOcean region where the cluster will reside."
type = string
nullable = false
}
variable "common_tags" {
description = "A list of tag names to be applied to the database cluster."
type = set(string)
default = []
}
variable "firewall_rules" {
description = "List of trusted sources associated with the cluster."
type = set(string)
default = []
}