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

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

variable "application_family" {
  default = "insights"
}

variable "additional_tags" {
  type = map(string)
  default = {
    project = "insights"
  }
}

variable "connector_type" {
  default = "kc-jdbc-src"
}

variable "connector_name" {
  default = "jdbc_source"
}

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

variable "subnet_ids" {
  type        = list(string)
  description = "VPC subnet IDs where the kafka-connect workers will execute"
  default = [
    "subnet-067a6b45b079d7296",
    "subnet-098b89d0c58c5693a"
  ]
}

locals {
  service_name   = "${var.connector_type}-spotify-tracks"
  ecr_image_name = var.connector_type
}

variable "team_name" {
  default     = "insights"
  description = "The team that owns this service"
}
