variable "aws_region" {
  description = "AWS region"
  default     = "us-east-1"
}

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

variable "lambda_name_prefix" {
  type    = string
  default = "lambda-content"
}

variable "sfn_name_prefix" {
  type    = string
  default = "sfn-content"
}

variable "service_name" {
  type    = string
  default = "match-audio"
}

variable "application_family" {
  default = "content-review"
}

variable "vpc_id" {
  description = "VPC ID where the lambdas will execute: prod (vpc-7f0e841a)"
  type        = string
  default     = "vpc-7f0e841a"
}

variable "vpc_subnet_ids" {
  description = "VPC subnet IDs where the lambdas will execute: prod_private_subnet_2 (subnet-067a6b45b079d7296), and prod_private_subnet_3 (subnet-098b89d0c58c5693a)"
  type        = list(string)
  default     = ["subnet-067a6b45b079d7296", "subnet-098b89d0c58c5693a"]
}

variable "s3_audio_bucket" {
  type    = string
  default = "prod-orcd-mezzanine-assets"
}

variable "match_secrets_manager_secret_names" {
  description = "List of secrets manager secrets for the match lambda"
  type        = list(string)
  default = [
    "ACRCLOUD_IDENTIFICATION_API_ACCESS_KEY",
    "ACRCLOUD_IDENTIFICATION_API_ACCESS_SECRET",
    "SONGWHIP_API_TOKEN",
    "SONGWHIP_LOOKUP_TOKEN"
  ]
}

# Tuned up to handle v2 migration, can be reverted to 3 once that is complete.
variable "lambda_function_reserved_concurrent_executions" {
  description = "Reserved concurrency for lambdas in the state machine."
  default     = 10
}

# Tuned up to handle v2 migration, can be reverted to 3 once that is complete.
variable "replication_consumer_lambda_reserved_concurrency" {
  description = "Reserved concurrency executions for lambdas handling replication events."
  default     = 60
}

variable "trigger_msk_cluster_name" {
  description = "MSK cluster name"
  default     = "prod-managed-kafka-cdc-destination"
}

variable "trigger_msk_cluster_uuid" {
  description = "MSK cluster uuid"
  default     = "b103e027-ec75-4982-8d15-5bddc5e33831-6"
}


variable "match_audio_msk_topic" {
  default = "stream.asset.mezzanine.audio.flac"
}

variable "additional_tags" {
  default = {
    "map-migrated" = "d-server-01hdpbwzxf15ud"
  }
}
variable "graphql_gateway_url" {
  description = "GraphQL gateway URL"
  default     = "https://prod-graphql-router.theorchard.io/graphql"
}

variable "state_machine_lambda_reserved_concurrency" {
  description = "reserved concurrency for lambdas within the state machine"
  default     = 30
}

variable "notification_endpoints" {
  default = "@slack-content-review-support"
}

variable "escalation_notification_endpoints" {
  default = "@slack-content-review-support @oncall-content-review-management"
}
