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

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

variable "cluster_name" {
  default = "kc"
}

variable "connector_type" {
  # https://github.com/theorchard/kafka-connect/tree/master/neo4j_cdc_sink
  default = "neo-cdc-sink"
}

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

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

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

variable "ecr_image_name" {
  default = "kc-neo-cdc-sink"
}

variable "msk_connect_cluster_name" {
  description = "MSK Cluster name for bootstrap server lookup, without environment prefix"
  default     = "managed-kafka-cdc-destination"
}

locals {
  service_name = "${var.cluster_name}-${var.connector_type}-lp-ai-match"
  query        = replace(file("query.cypher"), "\n", " ")
}
