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     = "prod"
}

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

variable "application_family" {
  default = "podcast"
}

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

variable "podcast_output_cdn" {
  description = "Podcast application CDN for output assets"
  default     = "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 = [
        "https://podcast.theorchard.com",
        "https://sonymusic.theorchard.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 "notification_endpoints" {
  default = "@slack-content-creation-mgmt-alerts"
}

variable "escalation_notification_endpoints" {
  default = "@slack-content-creation-mgmt-alerts"
}
