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

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

variable "service_name" {
  description = "Name of the service"
  default     = "neo4j-cypher"
}

variable "application_family" {
  default = "data-platform"
}

variable "neo4j_source_folder_name" {
  description = "The name of the source folder containing the queries to run. Should match the name of the folder in https://github.com/theorchard/python-neo4j-cypher-scheduler/tree/master/queries"
  default     = "assert-data-quality"
}

variable "kdh_notification_endpoints" {
  default = "@slack-kafka-data-highway-alerts"
}

locals {
  data_quality_monitors_notifications = {
      chart-rankings                                = var.kdh_notification_endpoints,
      create_new_profile_if_missing                 = var.kdh_notification_endpoints,
      global-participants-spotifyid-is-unique       = var.kdh_notification_endpoints,
      global-participants-without-spotifyid         = var.kdh_notification_endpoints,
      global-participants                           = var.kdh_notification_endpoints,
      global-sound-recording-isrc-is-unique         = "",
      global-sound-recordings                       = var.kdh_notification_endpoints,
      label-participant-global-participant-relation = var.kdh_notification_endpoints,
      label-participant-label-relations             = "",
      label-sound-recording                         = var.kdh_notification_endpoints,
      product-project-relations                     = var.kdh_notification_endpoints,
      project_ownership                             = "",
      public-labels                                 = var.kdh_notification_endpoints,
      public-participant-chartmetricId-is-unique    = var.kdh_notification_endpoints,
      public-sound-recordings                       = var.kdh_notification_endpoints,
      subaccount-uuid-is-unique                     = var.kdh_notification_endpoints,
      subaccount-vendor-relations                   = var.kdh_notification_endpoints,
      track-artist                                  = "",
      track-writer                                  = "",
      vendor-has-company-brand                      = var.kdh_notification_endpoints,
      vendor-uuid-is-unique                         = var.kdh_notification_endpoints,
      vendor_vendor_id_is_unique                    = var.kdh_notification_endpoints,
  }
}
