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

variable "environment" {
  default = "qa"
}

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

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

variable "slack_alert_channel" {
  description = "Slack channels for all DD alerts and build notifications"
  default     = "@slack-collections-qa-alarms"
}

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 "output_file_builder_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-output-builder"
}

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

variable "concurrent_job_executions" {
  default = 2
}

// 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 = false
}

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

variable "trigger_msk_cluster_uuid" {
  description = "MSK cluster uuid"
  default     = "9d840e30-6e78-4bf7-8ab2-8d788cff806d-6"
}

variable "delivery_order_message_topic" {
  description = "Topic name for NR Ownership Delivery Order Status events."
  default     = "event.nr.ownership.delivery.order.message"
}

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