
variable "service_name" {
  description = "Official Name of the service for use with the infrastructure naming"
  default = "customer-management-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-staging-west-int = "staging"
    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.t3.small"
    "nf-prod-int" = "db.t3.small"
    "nf-staging-int" = "db.t3.small"
  }
}

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

variable "console_url" {
type = map
  default = {
    "nf-sandbox" = "https://sandbox-nfconsole.io"
    "nf-staging-int" = "https://staging-nfconsole.io"
    "nf-staging-west-int" = "https://staging-west-nfconsole.io"
    "nf-prod-int" = "https://nfconsole.io"
  }
}

variable "nfbase_subscription_queue" {
type = map
  default = {
    "nf-sandbox" = "aws-mp-subscription-notification-dgmtohwsmytcxa4rev6j4j5rp"
    "nf-staging-int" = "aws-mp-subscription-notification-staging-dgmtohwsmytcxa4rev6j4j5rp"
    "nf-staging-west-int" = "dummy-queue-for-disabled-test-environments"
    "nf-staging-int" = "aws-mp-subscription-notification-staging-dgmtohwsmytcxa4rev6j4j5rp"
    "nf-prod-int" = "aws-mp-subscription-notification-wlm"
  }
}

variable "hubspot_integration_active" {
type = map
  default = {
    "nf-sandbox" = "true"
    "nf-staging-int" = "true"
    "nf-staging-west-int" = "false"
    "nf-prod-int" = "false"
  }
}

variable "task_count_map" {
type = map
  default = {
    "nf-sandbox" = 1
    "nf-staging-int" = 1
    "nf-staging-west-int" = 1
    "nf-prod-int" = 1
  }
}

variable "email_from_name" {
type = map
  default = {
    "nf-sandbox" = "Netfoundry Sandbox Service"
    "nf-staging-int" = "Netfoundry Staging Service"
    "nf-staging-west-int" = "Netfoundry Staging West Service"
    "nf-prod-int" = "Netfoundry Production Service"
  }
}

variable "email_from_address" {
type = map
  default = {
    "nf-sandbox" = "no-reply@netfoundry.io"
    "nf-staging-int" = "no-reply@netfoundry.io"
    "nf-staging-west-int" = "no-reply@netfoundry.io"
    "nf-prod-int" = "no-reply@netfoundry.io"
  }
}

variable "support_email" {
type = map
  default = {
    "nf-sandbox" = "support@netfoundry1556552784.zendesk.com"
    "nf-staging-int" = "support@netfoundry1556552784.zendesk.com"
    "nf-staging-west-int" = "support@netfoundry1556552784.zendesk.com"
    "nf-prod-int" = "support@netfoundry.zendesk.com"
  }
}

variable "smtp_port" {
type = map
  default = {
    "nf-sandbox" = 587
    "nf-staging-int" = 587
    "nf-staging-west-int" = 587
    "nf-prod-int" = 587
  }
}

variable "smtp_user" {
type = map
  default = {
    "nf-sandbox" = "AKIAIMGY2QLLJ52IX45Q"
    "nf-staging-int" = "AKIAIJCO2LRLYCC7MZDA"
    "nf-staging-west-int" = "AKIAIJCO2LRLYCC7MZDA"
    "nf-prod-int" = "AKIAJ4DDVLM7RTRAV4BA"
  }
}

variable "hubspot_deal_config_growth" {
type = map
  default = {
    "nf-sandbox" = "{'dealname':'Netfoundry Growth','dealstage':'13369167','hubspot_owner_id':'280738469','pipeline':'3957098','chargebee_subscription_site':'nfdev-test','cb_product':'Netfoundry-Pay-As-You-Go'}"
    "nf-staging-int" = "{'dealname':'Netfoundry Growth','dealstage':'closedwon','hubspot_owner_id':'162879595','pipeline':'default','chargebee_subscription_site':'netfoundry-test','cb_product':'Netfoundry-Pay-As-You-Go'}"
    "nf-staging-west-int" = "{'dealname':'Netfoundry Growth','dealstage':'closedwon','hubspot_owner_id':'162879595','pipeline':'default','chargebee_subscription_site':'netfoundry-test','cb_product':'Netfoundry-Pay-As-You-Go'}"
    "nf-prod-int" = "{'dealname':'Netfoundry Growth','dealstage':'13369167','hubspot_owner_id':'119089425','pipeline':'3957098','chargebee_subscription_site':'netfoundry','cb_product':'Netfoundry-Pay-As-You-Go'}"
  }
}

variable "hubspot_deal_config_teams" {
type = map
  default = {
    "nf-sandbox" = "{'dealname':'Netfoundry Teams','dealstage':'13387678','hubspot_owner_id':'281584740','pipeline':'3952198','chargebee_subscription_site':'nfdev-test','cb_product':'Netfoundry-Freemium'}"
    "nf-staging-int" = "{'dealname':'Netfoundry Teams','dealstage':'closedwon','hubspot_owner_id':'162879595','pipeline':'default','chargebee_subscription_site':'netfoundry-test','cb_product':'Netfoundry-Freemium'}"
    "nf-staging-west-int" = "{'dealname':'Netfoundry Teams','dealstage':'closedwon','hubspot_owner_id':'162879595','pipeline':'default','chargebee_subscription_site':'netfoundry-test','cb_product':'Netfoundry-Freemium'}"
    "nf-prod-int" = "{'dealname':'Netfoundry Teams','dealstage':'13387678','hubspot_owner_id':'119089425','pipeline':'3952198','chargebee_subscription_site':'netfoundry','cb_product':'Netfoundry-Freemium'}"
  }
}

variable "hubspot_task_config" {
type = map
  default = {
    "nf-sandbox" = "{'hubspot_owner_id':'281584740'}"
    "nf-staging-int" = "{'hubspot_owner_id':'162879595'}"
    "nf-staging-west-int" = "{'hubspot_owner_id':'162879595'}"
    "nf-prod-int" = "{'hubspot_owner_id':'85735711'}"
  }
}

variable "hubspot_offboard_deal_config_teams" {
type = map
  default = {
    "nf-sandbox" = "{'dealstage':'66298404', 'nfOffboard':'86362777'}"
    "nf-staging-int" = "{'dealstage':'66287995', 'nfOffboard':'86937176'}"
    "nf-staging-west-int" = "{'dealstage':'66287995', 'nfOffboard':'86937176'}"
    "nf-prod-int" = "{'dealstage':'66066255', 'nfOffboard':'87276217'}"
  }
}

variable "hubspot_offboard_deal_config_growth" {
type = map
  default = {
    "nf-sandbox" = "{'dealstage':'66297480', 'nfOffboard':'86859586'}"
    "nf-staging-int" = "{'dealstage':'66287995', 'nfOffboard':'86937176'}"
    "nf-staging-west-int" = "{'dealstage':'66287995', 'nfOffboard':'86937176'}"
    "nf-prod-int" = "{'dealstage':'66066256', 'nfOffboard':'85115979'}"
  }
}

