forked from zoitech/terraform-aws-s3-with-iam-access
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables_s3.tf
45 lines (36 loc) · 1.04 KB
/
variables_s3.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
variable "s3_bucket_name" {
description = "Name of the S3 bucket"
default = ""
}
variable "s3_versioning_enabled" {
description = "To enable file versioning"
default = false
}
variable "lifecycle_rule_enabled" {
description = "To enable the lifecycle rule"
default = false
}
variable "lifecycle_rule_id" {
description = "Name of the lifecyle rule id."
default = ""
}
variable "lifecycle_rule_prefix" {
description = "Lifecycle rule prefix."
default = ""
}
variable "lifecycle_rule_expiration" {
description = "Delete current object version X days after creation"
default = 0
}
variable "lifecycle_rule_noncurrent_version_expiration" {
description = "Delete noncurrent object versions X days after creation"
default = 90
}
variable "s3_lifecycle_prevent_destroy" {
description = "Prevent/allow terraform to destroy the bucket"
default = false
}
variable "enable_kms_bucket_policy" {
description = "Disables unencrypted uploads, enables user uploads with KMS keys"
default = false
}