variable "team_name" {
  type    = string
  default = "devops"
}

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

variable "environment" {
  default = "dev"
}

variable "service_name" {
  default = "atlantis"
}

variable "container_port" {
  default = "4141"
}

variable "atlantis_terraform_version" {
  default = "1.5.1"
}

variable "github_token" {
  type        = string
  description = "Github token"
  default     = ""
}

variable "github_organization" {
  type        = string
  description = "Github organization"
  default     = "theorchard"
}

variable "load_balancer_access_logs_s3_bucket_name" {
  description = "S3 bucket for storing load balancer access logs"
  default     = "security-483193324480-logs"
}

# This value is not tied to a real application_family
# That's ok, since we only want this to be updated by devops
variable "application_family" {
  default = "devops"
}

variable "additional_allowed_cidr_blocks" {
  description = "CIDR blocks to allow access to in addition to GitHub CIDR blocks"
  default = [
    "207.237.185.0/26" # Allow traffic routed through the NY VPN
  ]
}

variable "secrets_manager_secret_names" {
  type        = list(string)
  description = "List of secrets to create"
  default = [
    "DD_API_KEY",
    "DD_APP_KEY",
    "GH_TOKEN",
    "GH_WEBHOOK_SECRET",
    "SENTRY_API_KEY",
    "FIVETRAN_APIKEY",
    "FIVETRAN_APISECRET",
  ]
}

variable "atlantis_image_uri" {
  type        = string
  description = "The URI of the Atlantis image to use initially"
  default     = "086679231553.dkr.ecr.us-east-1.amazonaws.com/atlantis:latest"
}

variable "atlantis_service_fqdn" {
  type        = string
  description = "The FQDN of atlantis service"
  default     = "dev-atlantis.delphiplatform.io"
}

variable "github_repositories" {
  type        = list(string)
  description = "List of github org/repositories to trigger atlantis for"
  default = [
    "theorchard/infrastructure",
  ]
}
