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

variable "environment" {
  default = "prod"
}

variable "service_name" {
  default = "neighbouring-rights"
}

variable "application_family" {
  default = "neighbouring-rights"
}

variable "notification_endpoints" {
  description = "Slack channel and Pager Duty service for Prod outages"
  default     = "@slack-collections-prod-alarms"
}

variable "escalation_notification_endpoints" {
  description = "Slack channel and Pager Duty service for Prod outages"
  default     = "@slack-collections-prod-alarms"
}
variable "vpc_subnet_ids" {
  type        = list(any)
  description = "VPC subnet IDs where the lambdas will execute"
  default     = ["subnet-067a6b45b079d7296", "subnet-098b89d0c58c5693a"]
}

variable "vpc_id" {
  type        = string
  description = "VPC ID"
  default     = "vpc-7f0e841a"
}

variable "lambda_memory_size" {
  description = "Memory size for the lambda function"
  default     = "512"
}

variable "state_machine_name" {
  default = "nr-ownership-delivery"
}

variable "ownership_delivery_rds_name" {
  default = "neighbouring-rights-ownership-delivery"
}

variable "order_populator_lambda_name" {
  default = "lambda-nr-ownership-delivery-order-populator"
}

variable "template_data_loader_lambda_name" {
  // full name not used due to a constraint in the sentry terraform module
  // https://orcd.slack.com/archives/C02DGRGQWBZ/p1697717860709239
  default = "lambda-nr-ownership-delivery-template-loader"
}

variable "order_finalizer_lambda_name" {
  default = "lambda-nr-ownership-delivery-order-finalizer"
}

variable "ddex_generator_lambda_name" {
  default = "lambda-nr-ownership-delivery-ddex-generator"
}

variable "metadata_generator_lambda_name" {
  default = "lambda-metadata-generator-metadata"
}

variable "order_recorder_lambda_name" {
  default = "lambda-nr-ownership-delivery-order-recorder"
}

// full name not used due to a constraint in the sentry terraform module
// https://orcd.slack.com/archives/C02DGRGQWBZ/p1697717860709239
variable "contract_processor_lambda_name" {
  default = "lambda-nr-ownership-delivery-contracts"
}

variable "coordinator_lambda_name" {
  default = "lambda-nr-ownership-delivery-coordinator"
}

variable "datadog_monitor_enabled" {
  default = true
}

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 "delivery_order_message_topic" {
  description = "Topic name for NR Ownership Delivery Order Status events."
  default     = "event.nr.ownership.delivery.order.message"
}

variable "concurrent_job_executions" {
  default = 2
}

variable "fargate_outputfilebuilder_name" {
  default = "fargate-nr-owndel-output-file-builder"
}

variable "fargate_ddex_compiler_name" {
  default = "fargate-nr-owndel-ddex-compiler"
}

variable "delivery_orch_history_filter_lambda_name" {
  default = "lambda-nr-owndel-orchard-history-filter"
}

variable "delivery_orch_history_filter_lambda_description" {
  default = "This lambda deletes or updates files in s3 for sound recordings where Orchard tracks have already been delivered"
}

variable "prs_toolkit_secrets_manager_secret_names" {
  description = "List of secrets manager secrets to create"
  type        = list(string)
  default = [
    "PRS_TOOLKIT_DB_USER",
    "PRS_TOOLKIT_DB_PASSWORD",
    "PRS_TOOLKIT_DB_HOST"
  ]
}

variable "eligibility_query_resource_name" {
  description = "Resource name for the eligibility query, used in DD monitor"
  default     = "query_*ownershipnrsoundrecordingseligibleforservicev2*"
}

variable "team_name" {
  description = "Team name to be used for tagging"
  default     = "collections-ownership"
}
