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

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

variable "service_base_name" {
  description = "The name of this service."
  default     = "payoneer-webhooks-payee"
}

variable "application_family" {
  description = "The name of this group of applications."
  default     = "accounting"
}

variable "team_name" {
  description = "Team name tag - must match a valid Datadog team handle"
  default     = "tax-and-payments"
}


variable "service_full_name" {
  description = "The full name of this service with lambda-documents prefix."
  default = "lambda-documents-payoneer-webhooks-payee"
}

variable "lambda_provisioned_concurrent_executions" {
  default = 1
}

variable "datadog_enabled" {
  description = "Enable DataDog monitoring."
  default     = true
}

variable "datadog_advanced_enabled" {
  description = "Enable advanced DataDog monitoring."
  default     = true
}

variable "vpc_id" {
  default = "vpc-7f0e841a"
}

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

variable "dlq_enabled" {
  description = "Enable lambda DLQ"
  default     = false
}

variable "acm_certificate_domain" {
  description = "ACM certificate domain for the API Gateway"
  default     = "*.theorchard.io"
}

variable "route53_zone_name" {
  description = "Route53 zone name for the API Gateway domain"
  default     = "theorchard.io"
}

variable "route53_record_ttl" {
  description = "TTL associated with Route53 records"
  default     = "60"
}

locals {
  tags = {
    environment        = var.environment
    service_name       = var.service_base_name
    application_family = var.application_family
    terraformed        = true
  }
}
