terraform.aws-baseline-infra/modules/storage/s3_bucket_2023/variables.tf
2023-05-25 08:28:19 +08:00

52 lines
857 B
HCL

variable bucket_name {}
variable bucket_policy_json {}
variable current_version_expiration_days {
type = number
default = 2560
description = "731 for flowlogs"
}
variable noncurrent_version_expiration_days {
type = number
default = 2560
description = "731 for flowlogs"
}
variable enable_bucket_logging {
type = bool
}
variable logging_bucket_id {
type = string
default = null
}
variable enable_encryption {
type = bool
}
variable encryption_key_arn {
type = string
default = ""
description = "Leave blank to use AES256"
}
variable enable_versioning {
type = bool
}
variable enable_bucket_lifecycle {
type = bool
}
variable enable_replication {
type = bool
default = false
}
variable replication_role_arn {
type = string
default = null
}
variable replication_dest_bucket_name {
type = string
default = null
}