This repository was archived by the owner on Sep 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
91 lines (77 loc) · 1.96 KB
/
variables.tf
File metadata and controls
91 lines (77 loc) · 1.96 KB
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
variable "table-name" {
type = string
}
variable "billing_mode" {
type = string
default = "PAY_PER_REQUEST"
}
variable "read_capacity" {
description = "Can only be used when billing_mode is PROVISIONED"
type = number
default = null
}
variable "write_capacity" {
description = "Can only be used when billing_mode is PROVISIONED"
type = number
default = null
}
variable "hash_key" {
type = string
}
variable "range_key" {
type = string
}
variable "attributes" {
type = list(map(string))
# defaults for a standard Vault deployment
default = [
{
name = "Path"
type = "S"
},
{
name = "Key"
type = "S"
}
]
}
variable "tags" {
type = map(string)
default = {
Owner = "Batcave"
}
}
variable "autoscaling_enabled" {
description = "Whether or not to enable autoscaling. See note in README about this setting"
type = bool
default = false
}
variable "autoscaling_defaults" {
description = "A map of default autoscaling settings"
type = map(string)
default = {
scale_in_cooldown = 0
scale_out_cooldown = 0
target_value = 70
}
}
variable "autoscaling_read" {
description = "A map of read autoscaling settings. `max_capacity` is the only required key. See example in examples/autoscaling"
type = map(string)
default = {}
}
variable "autoscaling_write" {
description = "A map of write autoscaling settings. `max_capacity` is the only required key. See example in examples/autoscaling"
type = map(string)
default = {}
}
variable "autoscaling_indexes" {
description = "A map of index autoscaling configurations. See example in examples/autoscaling"
type = map(map(string))
default = {}
}
variable "ignore_changes_global_secondary_index" {
description = "Whether to ignore changes lifecycle to global secondary indices, useful for provisioned tables with scaling"
type = bool
default = false
}