# variables
variable "aws_region" {
  default     = "us-east-1"
  description = "AWS region"
}

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

variable "lambda_populate_pending_request" {
  default = "lambda-populate-hfa-pending-request"
}

variable "lambda_generate_hfa_tmp_file" {
  default = "lambda-generate-hfa-tmp-file"
}

variable "lambda_create_hfa_request_files" {
  default = "lambda-create-hfa-request-files"
}

variable "lambda_upload_hfa_request_files" {
  default = "lambda-upload-hfa-request-files"
}

variable "application_family" {
  default = "publishing"
}

variable "datadog_notification_endpoints" {
  description = "DataDog notification endpoints"
  default     = "@slack-monitoring @slack-security-team"
}

variable "secrets_manager_secret_names" {
  description = "List of secrets manager secrets to create"
  type        = list(string)
  default = [
    "PUBLISHING_MYSQL_USER",
    "PUBLISHING_MYSQL_PASSWORD",
    "HFA_FTP_USER",
    "HFA_FTP_PASSWORD",
    "NEO4J_USERNAME",
    "NEO4J_PASSWORD"
  ]
}

variable "service_name" {
  default = "lambda-publishing-hfa"
}

variable "oa_user" {
  default = "oa:179"
}

variable "date_filter" {
  description = "Date filter for hfa pending resubmit, request SQL query"
  default     = "2020-01-01 00:00:00"
}

variable "batch_size" {
  description = "Batch size for graphql queries"
  default     = "100"
}

variable "graphql_router_url" {
  description = "GraphQl Router URL"
  default     = "https://prod-graphql-router.theorchard.io/graphql"
}

variable "publishing_host" {
  description = "Publishing DB Host"
  default     = "ar-db.theorchard.com"
}

variable "publishing_database" {
  description = "Publishing Database name"
  default     = "publishing"
}

variable "HFA_FTP_HOST" {
  description = "HFA FTP host"
  default     = "ftp.harryfox.com"
}

variable "FTP_PATH" {
  description = "FTP path"
  default     = "/OrchardAdmin_Incoming/"
}

variable "email_sender" {
  description = "Email Sender"
  default     = "donotreply@theorchard.com"
}

variable "email_recipients" {
  description = "Email Recipients"
  default     = "hfa-watchers@theorchard.com,appsec@theorchard.com"
}

variable "success_email_recipients" {
  description = "Success Email Recipients"
  default     = "hfa-watchers@theorchard.com,appsec@theorchard.com,bulk@harryfox.com"
}

variable "orcd_bucket_name" {
  description = "Bucket Name"
  default     = "orcdbucket"
}

variable "neo4j_url" {
  default = "neo4j+s://prod-neo4j-cluster.theorchard.io:7687"
}
