variable "region" {
  default = "us-east-1"
}

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

variable "service_name" {
  default = "frontend-video"
}

variable "service_name_suffix" {
  default = "video-thumbnails"
}

variable "application_family" {
  default = "product-builder"
}

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

variable "logging_bucket" {
  type        = string
  description = "S3 bucket for s3 access logs"
  default     = "orcd-cloudfront-logs"
}

variable "domain_name" {
  default = "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 "cloudfront_minimum_protocol_version" {
  description = "The minimum version of the SSL protocol that CloudFront should use for HTTPS connections."
  default     = "TLSv1.2_2021"
}

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