variables.tf1.7 KB
View on GitHubvariable "region" {
type = string
description = "AWS Region"
}
variable "lifecycle_prefix" {
type = string
description = "Prefix filter. Used to manage object lifecycle events"
default = ""
}
variable "lifecycle_tags" {
type = map(string)
description = "Tags filter. Used to manage object lifecycle events"
default = {}
}
variable "force_destroy" {
type = bool
description = "A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable"
default = false
}
variable "lifecycle_rule_enabled" {
type = bool
description = "Enable lifecycle events on this bucket"
default = true
}
variable "noncurrent_version_expiration_days" {
type = number
description = "Specifies when noncurrent object versions expire"
default = 90
}
variable "noncurrent_version_transition_days" {
type = number
description = "Specifies when noncurrent object versions transitions"
default = 30
}
variable "standard_transition_days" {
type = number
description = "Number of days to persist in the standard storage tier before moving to the infrequent access tier"
default = 30
}
variable "glacier_transition_days" {
type = number
description = "Number of days after which to move the data to the glacier storage tier"
default = 60
}
variable "expiration_days" {
type = number
description = "Number of days after which to expunge the objects"
default = 90
}
variable "traffic_type" {
type = string
description = "The type of traffic to capture. Valid values: `ACCEPT`, `REJECT`, `ALL`"
default = "ALL"
}