forked from gurpalw/terraform-aws-s3-cloudtrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
73 lines (61 loc) · 1.89 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
# Input Variable Configuration
#
# https://www.terraform.io/docs/configuration/variables.html
variable "name" {
type = string
description = "The name of the bucket, which must comply with DNS naming conventions."
}
variable "logging_target_bucket" {
type = string
description = "The name of the bucket that will receive the log objects."
}
variable "lifecycle_rule_enabled" {
default = true
type = string
description = "Specifies lifecycle rule status."
}
variable "create_lifecycle_rule" {
default = true
type = string
description = "create lifecycle rule"
}
variable "lifecycle_rule_prefix" {
default = ""
type = string
description = "Object key prefix identifying one or more objects to which the rule applies."
}
variable "standard_ia_transition_days" {
default = "30"
type = string
description = "Specifies a period in the object's STANDARD_IA transitions."
}
variable "glacier_transition_days" {
default = "60"
type = string
description = "Specifies a period in the object's Glacier transitions."
}
variable "expiration_days" {
default = "90"
type = string
description = "Specifies a period in the object's expire."
}
variable "glacier_noncurrent_version_transition_days" {
default = "30"
type = string
description = "Specifies when noncurrent object versions transitions."
}
variable "noncurrent_version_expiration_days" {
default = "60"
type = string
description = "Specifies when noncurrent object versions expire."
}
variable "force_destroy" {
default = false
type = string
description = "A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error."
}
variable "tags" {
type = map
default = {}
description = "A mapping of tags to assign to the bucket."
}