variable "bucket_name" { type = string description = "Name of bucket" } variable bucket_force_destroy { type = bool default = false description = "Indicates all objects should be deleted from the bucket when the bucket is destroyed." } variable "bucket_policy_json" { type = string default = "{}" description = "Json-encoded bucket policy. The AllowSSLRequestsOnly policy is merged with this input." } 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 description = "Enable bucket logging" } variable "logging_bucket_id" { type = string default = null description = "Logging bucket id" } variable "enable_encryption" { type = bool description = "Enable encryption for s3 bucket" } variable "encryption_key_arn" { type = string default = "" description = "Leave blank to use AES256" } variable "enable_versioning" { type = bool description = "Enable s3 bucket versioning" } variable "enable_bucket_lifecycle" { type = bool description = "Enable s3 bucket lifecycle" } variable "enable_replication" { type = bool default = false description = "Enable s3 bucket replication" } variable "replication_role_arn" { type = string default = null description = "IAM role of s3 bucket replication" } variable "replication_dest_bucket_name" { type = string default = null description = "Replica bucket name" } variable "replication_destination_aws_account_id" { type = number default = null description = "AWS account id of replica bucket" } variable "replication_destination_kms_key_arn" { type = string default = null description = "KMS key ARN of destination bucket" }