variable "bucket_name" { description = "Name of the S3 bucket" type = string } variable "folder_id" { description = "Yandex Cloud folder ID" type = string } variable "acl" { description = "ACL для бакета" type = string default = "private" } variable "versioning_enabled" { description = "Enable versioning for the bucket" type = bool default = false } variable "cors_enabled" { description = "Enable CORS for the bucket" type = bool default = false } variable "cors_config" { description = "CORS configuration" type = object({ allowed_headers = list(string) allowed_methods = list(string) allowed_origins = list(string) expose_headers = optional(list(string)) max_age_seconds = optional(number) }) default = { allowed_headers = [] allowed_methods = [] allowed_origins = [] } }