-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvariables.tf
55 lines (45 loc) · 1.73 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
variable "name" {
type = string
description = "(Required) Name of Cluster"
}
variable "subnet_ids" {
type = list(string)
description = "(Required) List of Subnets to use for Cluster Group"
}
variable "query_ttl" {
type = string
description = "(optional) Query Time To Live in milliseconds Defaults: 300000"
default = "300000"
}
variable "record_ttl" {
type = string
description = "(optional) Record Time To Live in milliseconds Defaults: 300000"
default = "300000"
}
variable "iam_role_arn" {
type = string
description = "(Required) A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf"
}
variable "node_type" {
type = string
description = "(Required) The compute and memory capacity of the nodes"
}
variable "node_count" {
type = number
description = "(Required) The number of nodes in the DAX cluster. If 1 then it will create a single-node cluster, without any read replicas [ Default to 1 ]"
default = 1
}
variable "maintenance_window" {
type = string
description = "(Optional) Specifies the weekly time range for when maintenance on the cluster is performed. The format is ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Defaults: sun:00:00-sun:01:00"
default = "sun:00:00-sun:01:00"
}
variable "security_group_ids" {
type = list(string)
description = "(Required) One or more VPC security groups associated with the cluster"
}
variable "server_side_encryption" {
type = bool
description = "(Optional) Encrypt at rest options Default = true"
default = true
}