generated from geekcell/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
96 lines (85 loc) · 2.14 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
92
93
94
95
96
# Context
variable "tags" {
default = {}
description = "Tags to add to the AWS Customer Managed Key."
type = map(any)
}
# AWS S3
variable "expiration" {
default = 365
description = "The number of days after which to expunge the objects."
type = number
}
variable "name" {
description = "The name of the bucket."
type = string
}
variable "noncurrent_version_expiration" {
default = 90
description = "The number of days after which to delete the noncurrent object."
type = number
}
variable "noncurrent_version_transitions" {
default = [
{
noncurrent_days = 30
storage_class = "STANDARD_IA"
}
]
description = "Transition to another storage class for noncurrent_versions."
type = list(object({
noncurrent_days = number
storage_class = string
}))
}
variable "transitions" {
default = [
{
days = 30
storage_class = "STANDARD_IA"
},
{
days = 60
storage_class = "GLACIER"
},
{
days = 180
storage_class = "DEEP_ARCHIVE"
}
]
description = "Transition to another storage class."
type = list(object({
days = number
storage_class = string
}))
}
variable "versioning" {
default = "Enabled"
description = "Enables versioning of objects in the bucket."
type = string
}
variable "mfa_delete" {
default = "Disabled"
description = "Specifies whether MFA delete is enabled in the bucket."
type = string
}
variable "mfa" {
default = null
description = "MFA device ARN including a TOTP token to enable MFA delete."
type = string
}
variable "deny_non_secure_transport" {
default = true
description = "Whether to attach a policy to the bucket to deny all non-SSL requests."
type = bool
}
variable "allow_elb_write_access_logs" {
description = "Attach a policy to allow Elastic Load Balancing to write access logs."
default = true
type = bool
}
variable "allow_cloudfront_write_access_logs" {
description = "Enable ACL for CloudFront to write access logs."
default = false
type = bool
}