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

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

variable "service_name" {
  description = "The name of the associated application."
  default     = "ddex-ingester"
}

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

variable "vpc_id" {
  type        = string
  description = "VPC id"
  default     = "vpc-7f0e841a"
}

variable "vpc_subnet_ids" {
  type        = list(string)
  description = "VPC subnet IDs where the lambdas will execute"
  default     = ["subnet-067a6b45b079d7296", "subnet-043d235081c966332"] # temporarily hard-code subnets
}

variable "logger_dsn" {
  description = "Fluentd logger DSN"
  default     = "udp://prod-fluentd-applications-udp.theorchard.io:5160"
}

variable "rds_rw_user" {
  description = "DDEX ingester user used to read and write to RDS"
  default     = "ddex-ingester-RW"
}

variable "lambda_default_timeout" {
  description = "Default value for timeout"
  default     = "300"
}

variable "lambda_concurrent_executions" {
  description = "Number of reserved concurrent executions for lambda function"
  default     = 10
}

variable "datadog_enabled" {
  description = "Whether or not to attach datadog secretsmanager IAM policy"
  default     = true
}

variable "oa_user" {
  description = "OA user ID for graphql authentication"
  default     = "oa:179"
}
