2021-01-29 16:21:17 +08:00
|
|
|
variable "default-tags" {}
|
|
|
|
variable "bucket-retain-days" {
|
|
|
|
type = number
|
|
|
|
default = 90
|
|
|
|
}
|
|
|
|
variable "bucket-name" {}
|
|
|
|
variable "bucket-policy-json" {}
|
|
|
|
variable "enable-bucket-versioning" {
|
|
|
|
type = bool
|
|
|
|
default = false
|
|
|
|
}
|
|
|
|
variable "add-random-suffix" {
|
|
|
|
type = bool
|
|
|
|
default = false
|
|
|
|
}
|
|
|
|
|
2022-09-05 11:07:42 +08:00
|
|
|
variable bucket-acl {
|
|
|
|
type = string
|
|
|
|
default = "private"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable bucket-enable-lifecycle {
|
|
|
|
type = bool
|
|
|
|
default = true
|
|
|
|
}
|
|
|
|
|
|
|
|
variable transition-ia-days {
|
|
|
|
type = number
|
|
|
|
default = 30
|
|
|
|
}
|