variable "environment" {
  description = "Available values: dev, qa, prod."
}

variable "video_assets_bucket_name" {
  description = "Bucket name for all video assets: mezzanine, previews and thumbnails (minus environment prefix)."
  default     = "orcd-video-assets"
}

variable "distribution_alias" {
  description = "Domain name for the distribution (e.g video-thumbnails.theorchard.com)."
}

variable "viewer_protocol_policy" {
  description = "Available values: allow-all, https-only, redirect-to-https."
  default     = "https-only"
}

variable "allowed_methods" {
  description = "HTTP methods that Cloudfront will process."
  default     = ["HEAD", "GET"]
}

variable "cached_methods" {
  description = "HTTP methods that Cloudfront will cache."
  default     = ["HEAD", "GET"]
}

variable "default_ttl" {
  description = "The default TTL in seconds."
  default     = 86400
}

variable "minimum_protocol_version" {
  description = "The minimum version of the SSL protocol that CloudFront should use for HTTPS connections."
  default     = "TLSv1.2_2021"
}

variable "acm_certificate_arn" {
  description = "ARN for ACM certificate."
}

variable "logging_bucket" {
  description = "Bucket to use for cloudfront logging"
}

variable "logging_prefix" {
  description = "Prefix to use in bucket for cloudfront logging"
  default     = ""
}
