-
Notifications
You must be signed in to change notification settings - Fork 6
/
variables.tf
91 lines (75 loc) · 2.16 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
variable "namespace" {
description = "Namespace (e.g. `cp` or `cloudposse`)"
type = string
}
variable "stage" {
description = "Stage (e.g. `prod`, `dev`, `staging`)"
type = string
}
variable "name" {
description = "Name (e.g. `bastion` or `db`)"
type = string
}
variable "delimiter" {
type = string
default = "-"
description = "Delimiter to be used between `name`, `namespace`, `stage`, etc."
}
variable "attributes" {
type = list(string)
default = []
description = "Additional attributes (e.g. `policy` or `role`)"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags (e.g. map('BusinessUnit`,`XYZ`)"
}
variable "prefix" {
type = string
description = "S3 bucket prefix"
default = ""
}
variable "standard_transition_days" {
type = string
description = "Number of days to persist in the standard storage tier before moving to the glacier tier"
default = "30"
}
variable "glacier_transition_days" {
type = string
description = "Number of days after which to move the data to the glacier storage tier"
default = "60"
}
variable "expiration_days" {
type = string
description = "Number of days after which to expunge the objects"
default = "90"
}
variable "autoscale_write_target" {
default = 50
description = "DynamoDB autoscale write target"
}
variable "autoscale_read_target" {
default = 50
description = "DynamoDB autoscale read target"
}
variable "autoscale_min_read_capacity" {
default = 10
description = "DynamoDB autoscale read min capacity"
}
variable "autoscale_max_read_capacity" {
default = 100
description = "DynamoDB autoscale read max capacity"
}
variable "autoscale_min_write_capacity" {
default = 10
description = "DynamoDB autoscale write min capacity"
}
variable "autoscale_max_write_capacity" {
default = 100
description = "DynamoDB autoscale write max capacity"
}
variable "iam_role_max_session_duration" {
default = 3600
description = "The maximum session duration (in seconds) for the role. Can have a value from 1 hour to 12 hours"
}