variable "stack" {
  description = "The Stack name, overridden by CI/CD"
  type        = string
}

variable "environment" {
  description = "The environment name, overridden by CI/CD"
  type        = string
}

variable "region" {
  description = "AWS Region to deploy"
  type        = string
}

variable "default_tags" {
  description = "default tags, most of these should be overridden"
  default = {
    responsible = "dal"
    environment = "staging"
  }
}

variable "account_id" {
  description = "AWS account ID"
  type        = string
}

variable "ecs_account_id" {
  description = "ECS AWS account ID"
  type        = string
}

variable "cluster_name" {
  description = "EKS cluster name"
  type        = string
}

variable "namespace_name" {
  description = "Application namespace name inside the eks cluster"
  type        = string
}

variable "tags" {
  type    = map(any)
  default = {}
}

variable "service" {
  description = "Service name, overridden by CI/CD"
  type        = string
}

variable "vault_address" {
  description = "Vault address URL, overridden by CI/CD"
  type        = string
}

variable "vault_token" {
  description = "Vault token auth, overridden by CI/CD"
  type        = string
}

variable "dal_url" {
  description = "URL of the DAL service deployed into EKS"
  type        = string
}

variable "ecs_cluster_name" {
  description = "ECS cluster name, used in SSM path for DAL url"
  type        = string
  default     = ""
}

variable "ecs_create_ssm" {
  description = "If need to create SSM record for DAL url"
  type        = string
  default     = "false"
}
