variable "aws_region" {
  default     = "us-east-1"
  description = "Name of a region"
}

variable "environment" {
  description = "Available values:  dev, qa, prod."
  default     = "prod"
}

variable "service_name" {
  default = "ows-collaborator"
}

variable "application_family" {
  default = "collaborators"
}

variable "team" {
  description = "Datadog team slug"
  default     = "accounting"
}

variable "secrets_manager_secret_names" {
  description = "List of secrets manager secrets to create"
  type        = list(string)
  default = [
    "TRANSFERWISE_CLIENT_SECRET",
    "SNOWFLAKE_KEY_PASSPHRASE",
    "SNOWFLAKE_PRIVATE_KEY",
    "AUDIT_LOG_PASS",
    "COLLAB_DB_PASS",
  ]
}

variable "notification_endpoints" {
  default = "@slack-collaborators-alerts"
}

variable "outage_notification_endpoints" {
  default = "@slack-collaborators-alerts @oncall-accounting"
}

variable "snowflake_account" {
  default = "delphi.us-east-1"
}

variable "snowflake_user" {
  default = "PROD_OWS_COLLABORATOR"
}

variable "snowflake_warehouse" {
  default = "PROD_OWS_WAREHOUSE"
}

variable "snowflake_writer_warehouse" {
  default = "PROD_ETL_WAREHOUSE"
}

variable "snowflake_role" {
  default = "PROD_OWS_COLLABORATOR"
}

variable "snowflake_schema_facts" {
  default = "FACTS.PROD"
}

variable "snowflake_schema_royalty_accounting" {
  default = "ORCHARD_APP_REPORTING_V2.PROD_ROYALTY_ACCOUNTING_ROYALTY_ACCOUNTING"
}

variable "snowflake_schema_ows_collaborator" {
  default = "ORCHARD_APP_REPORTING_V2.PROD_OWS_COLLABORATOR_OWS_COLLABORATOR"
}

variable "splitio_preforked" {
  default = "false"
}

variable "transferwise_client_id" {
  default = "theorchard"
}

variable "audit_log_host" {
  default = "https://vpc-prod-ows-collaborator-log-cj47hnbn3dpxz5fhcsctwzcbx4.us-east-1.es.amazonaws.com"
}

variable "audit_log_user" {
  default = "ows-collaborator-log"
}

variable "collab_db_user" {
  default = "collab_env"
}

variable "collab_db_host" {
  default = "prod-ows-collaborator.cluster-cb22xqmk0y0q.us-east-1.rds.amazonaws.com"
}

variable "collab_db_dbname" {
  default = "ows_collaborator"
}

variable "dependent_applications" {
  description = "List of dependent applications"
  type        = list(string)
  default     = ["collaborator-suite", "settings", "moneyhub"]
}

variable "es_instance_type" {
  # These instances are covered by a Reserved Instance purchase, so changing the instance type could have significant cost implications.
  # Please consult with the DevOps team before making any changes to this.
  default = "m6g.large.elasticsearch"
}
