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

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

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

variable "additional_tags" {
  type = map(string)
  default = {
    project = "kafka-data-highway"
    team    = "accounts-platform"
  }
}

variable "dlq_topic_name" {
  default = "dlq.musicGraph.smeLabel"
}

variable "cluster_type" {
  default = "kc"
}

variable "connector_type" {
  default = "os-sink"
}

variable "connector_name" {
  default = "smelabel"
}

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

variable "dd_escalation_notification_endpoints" {
  default = "@slack-accounts-team-alerts"
}

variable "msk_cluster_name" {
  description = "MSK Cluster name, without environment prefix"
  default     = "kafka-pp"
}

variable "team_name" {
  default = "permissions-platform"
}

locals {
  ecr_repo_name = "${var.cluster_type}-${var.connector_type}"
  # Shortened from kafka-connect to avoid AWS name length limitations
  service_name = "${var.cluster_type}-${var.connector_type}-${var.connector_name}"
}
