variable "aws_region" {
  default = "us-east-1"
}

variable "environment" {
  default = "prod"
}

variable "service_name" {
  default = "looker-rds-proxy"
}

variable "application_family" {
  default = "devops"
}

locals {
  tags = {
    environment        = var.environment
    service_name       = var.service_name
    application_family = var.application_family
    terraformed        = true
  }
}

variable "rds_instances" {
  description = "List of RDS instances that the proxy will connect to"
  type        = list(string)
  default = [
    "prod-direct-delivery-cluster.cluster-ro-cb22xqmk0y0q.us-east-1.rds.amazonaws.com:3306",
    "reportsar.theorchard.com:3306",
    "reportsdd.theorchard.com:3306",
    "statementdb.theorchard.com:3306",
    "prod-art-relations.cluster-ro-cb22xqmk0y0q.us-east-1.rds.amazonaws.com:3306",
  ]
}

variable "sshd_host_fingerprints_secret_names" {
  type = list(string)
  default = [
    "SSH_HOST_RSA_KEY",
    "SSH_HOST_ECDSA_KEY",
    "SSH_HOST_ED25519_KEY",
    "SSH_HOST_RSA_KEY_PUB",
    "SSH_HOST_ECDSA_KEY_PUB",
    "SSH_HOST_ED25519_KEY_PUB",
  ]
}

variable "team_name" {
  type        = string
  description = "The team responsible for this service"
  default     = "devops"
}
