forked from cloudposse/terraform-aws-lb-s3-bucket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
59 lines (50 loc) · 1.62 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
variable "acl" {
type = string
description = "Canned ACL to apply to the S3 bucket"
default = "log-delivery-write"
}
variable "force_destroy" {
type = bool
description = "A boolean that indicates the bucket can be destroyed even if it contains objects. These objects are not recoverable"
default = false
}
variable "lifecycle_prefix" {
type = string
description = "Prefix filter. Used to manage object lifecycle events"
default = ""
}
variable "lifecycle_rule_enabled" {
type = bool
description = "A boolean that indicates whether the s3 log bucket lifecycle rule should be enabled."
default = false
}
variable "enable_glacier_transition" {
type = bool
description = "Enables the transition of lb logs to AWS Glacier"
default = true
}
variable "glacier_transition_days" {
type = number
description = "Number of days after which to move s3 logs to the glacier storage tier"
default = 60
}
variable "expiration_days" {
type = number
description = "Number of days after which to expunge s3 logs"
default = 90
}
variable "noncurrent_version_expiration_days" {
type = number
description = "Specifies when noncurrent s3 log versions expire"
default = 90
}
variable "noncurrent_version_transition_days" {
type = number
description = "Specifies when noncurrent s3 log versions transition"
default = 30
}
variable "standard_transition_days" {
type = number
description = "Number of days to persist logs in standard storage tier before moving to the infrequent access tier"
default = 30
}