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

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

variable "lambda_name_prefix" {
  type    = string
  default = "lambda-content"
}

variable "application_family" {
  default = "content-review"
}

variable "vpc_id" {
  description = "VPC ID where the lambdas will execute: prod (vpc-7f0e841a)"
  type        = string
  default     = "vpc-7f0e841a"
}

variable "vpc_subnet_ids" {
  description = "VPC subnet IDs where the lambdas will execute: prod_private_subnet_2 (subnet-067a6b45b079d7296), and prod_private_subnet_3 (subnet-098b89d0c58c5693a)"
  type        = list(string)
  default     = ["subnet-098b89d0c58c5693a", "subnet-067a6b45b079d7296"]
}

variable "additional_tags" {
  default = {
    "map-migrated" = "d-server-01hdpbwzxf15ud"
  }
}

variable "opensearch_endpoint" {
  default     = "vpc-prod-content-review-os-aah5mskpw45xlbbxz6i5p4kvsy.us-east-1.es.amazonaws.com"
}

variable "opensearch_port" {
  default     = 443
}

variable "opensearch_index_alias" {
  default     = "review_write"
}

variable "opensearch_domain_name" {
  default     = "prod-content-review-os"
}

variable "graphql_gateway_url" {
  default = "https://prod-graphql-router.theorchard.io/graphql"
}

variable "notification_endpoints" {
  default = "@slack-content-review-support"
}

variable "escalation_notification_endpoints" {
  default = "@slack-content-review-support"
}

variable "kafka_bootstrap_servers" {
  default = "b-1.prod-managed-kafka-cdc.40dsdw.c6.kafka.us-east-1.amazonaws.com:9094,b-3.prod-managed-kafka-cdc.40dsdw.c6.kafka.us-east-1.amazonaws.com:9094,b-2.prod-managed-kafka-cdc.40dsdw.c6.kafka.us-east-1.amazonaws.com:9094"
}

variable "kafka_review_topic" {
  default = "event.owsContentReview.review"
}

variable "default_interval_seconds" {
  default = 15
}

variable "default_max_attempts" {
  default = 23
}

variable "default_backoff_rate" {
  default = 1.3
}
