
variable "service_name" {
  description = "Official Name of the service for use with the infrastructure naming"
  default = "identity"
}


variable "region" {
type = map
  default = {
    nf-sandbox = "us-east-1"
    nf-staging-int = "us-east-1"
    nf-staging-west-int = "us-west-2"
    nf-prod-int = "us-east-1"
  }
}

variable container_count {
type = map
  default = {
    nf-sandbox = 1
    nf-staging-int = 1
    nf-staging-west-int = 1
    nf-prod-int = 2
  }
}

variable failover_container_count {
  type = map
  default = {
    nf-sandbox = 0
    nf-staging-int = 0
    nf-prod-int = 0
  }
}

variable "workspace_deploy_env" {
type = map
  default = {
    nf-sandbox = "sandbox"
    nf-staging-int = "staging"
    nf-staging-west-int = "staging-west"
    nf-prod-int = "production"
  }
}

variable "spring_config_label_map" {
type = map
  default = {
    nf-sandbox = "sandbox"
    nf-staging-int = "staging"
    nf-staging-west-int = "staging"
    nf-prod-int = "production"
  }
}

variable "subdomain_map" {
type = map
  default = {
    "nf-sandbox" = "sandbox.netfoundry.io"
    "nf-staging-int" = "staging.netfoundry.io"
    nf-staging-west-int = "staging-west.netfoundry.io"
    "nf-prod-int" = "production.netfoundry.io"
  }
}

variable "rds_instance_class_map" {
type = map
  default = {
    "nf-sandbox" = "db.t2.small"
    "nf-staging-int" = "db.t2.small"
    nf-staging-west-int = "db.t2.small"
    "nf-prod-int" = "db.t2.small"
  }
}

variable "rds_disk_size_map" {
type = map
  default = {
    "nf-sandbox" = 10
    "nf-staging-int" = 10
    nf-staging-west-int = 10
    "nf-prod-int" = 10
  }
}

variable container_image_map {
type = map
  default = {
    nf-sandbox = "sandbox"
    nf-staging-int = "staging"
    nf-staging-west-int = "staging"
    nf-prod-int = "production"
  }
}

variable auth0_issuer_map {
type = map
  default = {
    nf-sandbox = "sandbox"
    nf-staging-int = "staging"
    nf-staging-west-int = "staging"
    nf-prod-int = "production"
  }
}
