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

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

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

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

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

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

variable "rds_disk_size_map" {
type = map
  default = {
    "nf-sandbox" = 20
    "nf-staging-int" = 20
    "nf-prod-int" = 20
    "nf-staging-west-int" = 20
  }
}
variable "task_count" {
type = map
  default = {
    nf-sandbox = 1
    nf-staging-int = 1
    nf-prod-int = 2
  }
}
variable es_host_map {
  type = map
  default = {
    nf-sandbox = "https://671f1b395ca2c86a99dca8c10d455c61.us-east-1.aws.found.io:9243"
    nf-staging-int = "https://cded6653d25e80c7af745be8686cbf05.us-east-1.aws.found.io:9243"
    nf-prod-int = "https://e0eab4d45b71b561e24ea79af1875bb4.us-east-1.aws.found.io:9243"
  }
}
variable ns_api_base_url_map {
  type = map
  default = {
    nf-sandbox = "https://5045880-sb1.suitetalk.api.netsuite.com/services/rest"
    nf-staging-int = "https://5045880-sb1.suitetalk.api.netsuite.com/services/rest"
    nf-prod-int = "https://5045880.suitetalk.api.netsuite.com/services/rest"
  }
}
variable ns_restlet_api_base_url_map {
  type = map
  default = {
    nf-sandbox = "https://5045880-sb1.restlets.api.netsuite.com/app/site/hosting"
    nf-staging-int = "https://5045880-sb1.restlets.api.netsuite.com/app/site/hosting"
    nf-prod-int = "https://5045880.restlets.api.netsuite.com/app/site/hosting"
  }
}
variable "s3_report_bucket_name_map" {
  type = map
  default = {
    nf-sandbox      = "nf-billing-usage-reports-sandbox"
    nf-staging-int  = "nf-billing-usage-reports-staging"
    nf-prod-int     = "nf-billing-usage-reports-production"
  }
}

variable ns_api_token_url_map {
  type = map
  default = {
    nf-sandbox = "https://5045880-sb1.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token"
    nf-staging-int = "https://5045880-sb1.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token"
    nf-prod-int = "https://5045880.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token"
  }
}