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

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

variable "application_family" {
  default = "kafka-data-highway"
}

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

variable "dlq_topic_name" {
  default = "dlq.rtorres.ossink"
}

variable "cluster_type" {
  default = "kc"
}

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

variable "connector_name" {
  default = "rtorres"
}

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

variable "team_name" {
  default = "kdh"
}

variable "ecr_repo_name" {
  default = "kc-os-sink-prerelease"
}

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