forked from cloudposse/terraform-aws-dynamodb-autoscaler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
127 lines (109 loc) · 3.11 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
variable "dynamodb_table_name" {
type = string
description = "DynamoDB table name"
}
variable "dynamodb_table_arn" {
type = string
description = "DynamoDB table ARN"
}
variable "dynamodb_indexes" {
type = list(string)
description = "List of DynamoDB indexes"
default = []
}
variable "autoscale_write_target" {
type = number
default = 50
description = "The target value for DynamoDB write autoscaling"
}
variable "autoscale_read_target" {
type = number
default = 50
description = "The target value for DynamoDB read autoscaling"
}
variable "autoscale_min_read_capacity" {
type = number
default = 5
description = "DynamoDB autoscaling min read capacity"
}
variable "autoscale_max_read_capacity" {
type = number
default = 20
description = "DynamoDB autoscaling max read capacity"
}
variable "autoscale_min_write_capacity" {
type = number
default = 5
description = "DynamoDB autoscaling min write capacity"
}
variable "autoscale_max_write_capacity" {
type = number
default = 20
description = "DynamoDB autoscaling max write capacity"
}
variable "autoscale_write_target_index" {
type = number
default = null
description = "The target value for DynamoDB write autoscaling of the index"
}
variable "autoscale_read_target_index" {
type = number
default = null
description = "The target value for DynamoDB read autoscaling of the index"
}
variable "autoscale_min_read_capacity_index" {
type = number
default = null
description = "DynamoDB autoscaling min read capacity of the index"
}
variable "autoscale_max_read_capacity_index" {
type = number
default = null
description = "DynamoDB autoscaling max read capacity of the index"
}
variable "autoscale_min_write_capacity_index" {
type = number
default = null
description = "DynamoDB autoscaling min write capacity of the index"
}
variable "autoscale_max_write_capacity_index" {
type = number
default = null
description = "DynamoDB autoscaling max write capacity of the index"
}
variable "autoscale_read_schedule" {
type = list(object({
schedule = string
min_capacity = number
max_capacity = number
}))
description = "Provides an DynamoDB autoscaling scheduled action resource"
default = []
}
variable "autoscale_read_schedule_index" {
type = list(object({
schedule = string
min_capacity = number
max_capacity = number
}))
description = "Provides an DynamoDB autoscaling scheduled action resource for the index"
default = []
}
variable "autoscale_write_schedule" {
type = list(object({
schedule = string
min_capacity = number
max_capacity = number
}))
description = "Provides an DynamoDB autoscaling scheduled action resource"
default = []
}
variable "autoscale_write_schedule_index" {
type = list(object({
schedule = string
min_capacity = number
max_capacity = number
}))
description = "Provides an DynamoDB autoscaling scheduled action resource for the index"
default = []
}