terraform-contour-mirror/modules/yc-s3/variables.tf
2026-01-28 15:05:41 +03:00

24 lines
698 B
HCL

variable "buckets" {
description = "List of S3 buckets to create"
type = list(object({
name = string
acl = optional(string, "private")
versioning = optional(object({
enabled = bool
}), { enabled = false })
cors = optional(object({
enabled = optional(bool, false)
allowed_headers = optional(list(string), [])
allowed_methods = optional(list(string), [])
allowed_origins = optional(list(string), [])
expose_headers = optional(list(string), [])
max_age_seconds = optional(number, 3600)
}), { enabled = false })
}))
}
variable "folder_id" {
description = "Yandex Cloud folder ID"
type = string
}