-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathvariables.tf
88 lines (70 loc) · 2.05 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
variable "region" {
description = "region name where you want to deploy"
default = "eu-central-1"
}
variable "app_name" {
description = "Dynamodb table name (space is not allowed)"
}
variable "Tag" {
description = "An owner tag to tag resources with."
}
variable "enable_encryption" {
description = "Whether to enable Server Side encryption,Default is false"
default = "true"
}
variable "hash_key" {
description = "The attribute to use as the hash key"
type = "string"
}
variable "hash_key_type" {
type = "string"
default = "S"
description = "Hash Key type, which must be a scalar type: `S`, `N`, or `B` for (S)tring, (N)umber or (B)inary data"
}
variable "range_key" {
description = "The attribute to use as the range key"
type = "string"
}
variable "range_key_type" {
type = "string"
default = "S"
description = "Range Key type, which must be a scalar type: `S`, `N`, or `B` for (S)tring, (N)umber or (B)inary data"
}
variable "dynamodb_attributes" {
type = "list"
default = []
description = "Additional DynamoDB attributes in the form of a list of mapped values"
}
variable "ttl_attribute" {
description = "The name of the table attribute to store the TTL timestamp in"
type = "string"
default = ""
}
variable "ttl_status" {
description = "ttl status"
default = "false"
}
variable "autoscale_write_target" {
description = "Dynamodb default Autoscale write target value"
default = 10
}
variable "autoscale_read_target" {
description = "Dynamodb default Autoscale read target value"
default = 10
}
variable "autoscale_min_read_capacity" {
description = "The minimum read capacity unit"
default = 10
}
variable "autoscale_max_read_capacity" {
description = "The Maximum read capacity unit"
default = 100
}
variable "autoscale_min_write_capacity" {
description = "The minimum write capacity unit"
default = 5
}
variable "autoscale_max_write_capacity" {
description = "The Maximum write capacity unit"
default = 200
}