-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathvariables.tf
More file actions
76 lines (64 loc) · 2.12 KB
/
variables.tf
File metadata and controls
76 lines (64 loc) · 2.12 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
variable "region" {
type = string
description = "AWS Region"
}
variable "lifecycle_prefix" {
type = string
description = "Prefix filter. Used to manage object lifecycle events"
default = ""
}
variable "lifecycle_tags" {
type = map(string)
description = "Tags filter. Used to manage object lifecycle events"
default = {}
}
variable "lifecycle_rule_enabled" {
type = bool
description = "Enable lifecycle events on this bucket"
default = true
}
variable "noncurrent_version_expiration_days" {
type = number
description = "Specifies when noncurrent object versions expire"
default = 90
}
variable "noncurrent_version_transition_days" {
type = number
description = "Specifies when noncurrent object versions transitions"
default = 30
}
variable "standard_transition_days" {
type = number
description = "Number of days to persist in the standard storage tier before moving to the infrequent access tier"
default = 30
}
variable "glacier_transition_days" {
type = number
description = "Number of days after which to move the data to the glacier storage tier"
default = 60
}
variable "expiration_days" {
type = number
description = "Number of days after which to expunge the objects"
default = 90
}
variable "traffic_type" {
type = string
description = "The type of traffic to capture. Valid values: `ACCEPT`, `REJECT`, `ALL`"
default = "ALL"
}
variable "allow_ssl_requests_only" {
type = bool
default = true
description = "Set to `true` to require requests to use Secure Socket Layer (HTTPS/SSL). This will explicitly deny access to HTTP requests"
}
variable "flow_log_enabled" {
type = bool
default = true
description = "Enable/disable the Flow Log creation. Useful in multi-account environments where the bucket is in one account, but VPC Flow Logs are in different accounts"
}
variable "kms_key_arn" {
type = string
default = ""
description = "If provided will be used for the S3 bucket encryption. If not provided a KMS will be created for you."
}