variable "aws_region" {
  default     = "us-east-1"
  description = "All elements of the state machine execution flow have to be placed in the same region."
}

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

variable "service_name" {
  default = "ows-asset-transcoder"
}

variable "application_family" {
  default = "podcast"
}

variable "notification_endpoints" {
  default = "@slack-content-delivery-and-asset-mgmt-qa-alerts"
}

variable "escalation_notification_endpoints" {
  default = "@slack-content-delivery-and-asset-mgmt-qa-alerts"
}

variable "podcast_output_bucket_name" {
  description = "Podcast application bucket name"
  default     = "qa-orcd-podcast-output-assets"
}

variable "podcast_output_cdn" {
  description = "Podcast application CDN for output assets"
  default     = "qa-podcast-assets.theorchard.io"
}

variable "input_assets_bucket_cors" {
  type        = list(any)
  description = "List of CORS rules for input assets bucket"
  default = [
    {
      allowed_headers = ["*"]
      allowed_methods = ["PUT", "POST"]
      allowed_origins = [
        "http://localhost:*",
        "https://qa-frontend-podcast-standalone.theorchard.io",
        "https://podcast.qaorch.com",
        "https://sonymusic.qaorch.com"
      ]
      expose_headers  = ["ETag"]
      max_age_seconds = 3000
    }
  ]
}

variable "additional_browser_assume_role_arns" {
  type        = list(any)
  description = "User ARNs who are allowed to execute assumeRole required by upload-token"
  default     = []
}

variable "workstation_output_bucket_name" {
  description = "Workstation application bucket name"
  default     = "qa-orcd-mezzanine-assets"
}

variable "workstation_preview_bucket_name" {
  description = "Workstation application bucket for preview assets"
  default     = "qa-asset-storage"
}

variable "workstation_output_cdn" {
  description = "Workstation application CDN for output assets"
  default     = "qa-images.theorchard.io"
}

variable "workstation_elastic_transcoder" {
  description = "Workstation application dummy elastic transcoder"
  default     = "dummy_elastic_transcoder"
}
