locals {
  message_amount_threshold_lambdas   = 20
  message_amount_threshold_processor = 100
  old_message_threshold              = 3600 # 1 hour

  eks_applications = {
    "Asset Processor HIGH" = {
      application_type        = "kube_job"
      application_name_prefix = "amp-asset-processor-high"
    },
    "Asset Processor NORMAL" = {
      application_type        = "kube_job"
      application_name_prefix = "amp-asset-processor-normal"
    },
    "Asset Processor LOW" = {
      application_type        = "kube_job"
      application_name_prefix = "amp-asset-processor-low"
    },
    "Asset Service" = {
      application_type        = "kube_deployment"
      application_name_prefix = "amp-asset-service"
    },
    "External Event Dispatcher" = {
      application_type        = "kube_deployment"
      application_name_prefix = "amp-service-external-event-dispatcher"
    },
    "Service Gateway" = {
      application_type        = "kube_deployment"
      application_name_prefix = "amp-service-gateway"
    }
  }
  # This tag is cosmetic, to let people know that any changes made outside of terraform might be lost
  managed_by_terraform_datadog_tag = "managedBy:amp-terraform"

  email_notifications_datadog_tag     = "notificationChannel:email"
  pagerduty_notifications_datadog_tag = "notificationChannel:PagerDuty"
}
