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

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

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

variable "team" {
  description = "Team that owns the service"
  default     = "tax-and-payments"
}

variable "datadog_runtime_metrics_enabled" {
  default = "true"
}

variable "datadog_runtime_redacted_identifiers" {
  default = "account_name,account_number,account_type,bank_account_type,bank_name,iban,routing_number,sort_code,swift_or_bic"
}

variable "mysql_db_host" {
  default = "qa-royalty-accounting-db.theorchard.io"
}

variable "mysql_db_user" {
  default = "ows-payee"
}

variable "hash_key" {
  description = "Name of the primary key"
  default     = "owner"
}

variable "range_key" {
  description = "Name of the sort key"
  default     = "revision"
}

variable "application_family" {
  default     = "accounting"
  description = "Application family to which abacus belongs"
}

variable "payoneer_api_url" {
  default     = "https://api.sandbox.payoneer.com"
  description = "URL used for calls to Payoneer"
}

variable "payoneer_redirect_url_orchard" {
  default     = "https://documents.qaorch.com/payoneer-redirect"
  description = "URL used for redirect from Payoneer to documents app for the Orchard brand"
}

variable "payoneer_redirect_url_altafonte" {
  default     = "https://documents.qaorch.com/payoneer-redirect"
  description = "URL used for redirect from Payoneer to documents app for the Altafonte brand"
}

variable "payoneer_redirect_url_awal" {
  default     = "https://documents.qaawal.com/payoneer-redirect"
  description = "URL used for redirect from Payoneer to documents app for the AWAL brand"
}

variable "payoneer_api_base_auth_url" {
  default     = "https://login.sandbox.payoneer.com"
  description = "Base URL used for Payoneer OAuth"
}

variable "payoneer_token_secret_name" {
  default     = "payoneer_auth_token"
  description = "Name of the Payoneer auth token secret in AWS Secrets Manager"
}

variable "payoneer_token_rotation_lambda_function_name" {
  default     = "lambda-rotate-payoneer-auth-token"
  description = "Name of the Lambda function used to rotate the Payoneer auth token"
}

variable "hmrc_api_url" {
  default     = "https://test-api.service.hmrc.gov.uk"
  description = "Base URL used for HMRC requests"
}

variable "secrets_manager_secret_names" {
  description = "List of secrets manager secrets to create"
  type        = list(string)
  default = [
    "payee_db_password",
    "payee_db_username",
    "payoneer_client_id",
    "payoneer_client_secret",
    "payoneer_shared_secret",
    "payoneer_wform_client_creds",
    "rds_master_password",
    "rds_master_username",
    "royalty_accounting_db_password",
    "royalty_accounting_db_username",
    "segment_write_key",
    "MYSQL_DB_PASS",
    "hmrc_api_client_id",
    "hmrc_api_client_secret"
  ]
}

variable "temporary_files_expiration_time" {
  default     = "1"
  description = "Time in days for the PDFs in the S3 bucket to expire"
}

variable "s3_presigned_url_expiration_time" {
  default     = "60"
  description = "Time in seconds for the S3 presigned URL to expire"
}

variable "s3_bucket_pdf_files_folder" {
  default     = "pdf_files"
  description = "Folder where the PDF files will be stored"
}

variable "kafka_bootstrap_servers" {
  default = "b-4.qa-managed-kafka-cdc-d.2kgc64.c6.kafka.us-east-1.amazonaws.com:9094,b-1.qa-managed-kafka-cdc-d.2kgc64.c6.kafka.us-east-1.amazonaws.com:9094,b-2.qa-managed-kafka-cdc-d.2kgc64.c6.kafka.us-east-1.amazonaws.com:9094,b-3.qa-managed-kafka-cdc-d.2kgc64.c6.kafka.us-east-1.amazonaws.com:9094,b-6.qa-managed-kafka-cdc-d.2kgc64.c6.kafka.us-east-1.amazonaws.com:9094,b-5.qa-managed-kafka-cdc-d.2kgc64.c6.kafka.us-east-1.amazonaws.com:9094"
}

variable "schema_registry_url" {
  default = "https://qa-schema-registry.theorchard.io"
}

variable "load_from_s3_lambda_m2m_uuid" {
  default = "ff27ff1e-19e6-4bdf-9303-d78fe21398d1"
}

variable "playwright_tests_ows_payee" {
  default = "61571094-7a89-459e-9fba-65160f3ee690"
}

variable "cucumber_cypress_tests_m2m_uuid" {
  default = "d134f7fc-f02d-4cb8-aad5-c0e059192147"
}

variable "lambda_moneyhub_generate_attachments_m2m_uuid" {
  default = "1ea2c95a-d656-4aef-9f79-5d1fbebd83ce"
}

variable "payoneer_program_move_lambda_m2m_uuid" {
  default = "1f9f24f9-4403-4726-ba5b-b0d81c604b07"
}
