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

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

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

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

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

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

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

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

variable "graphql_gateway_url" {
  description = "GraphQl gateway URL"
  default     = "https://qa-graphql-router.theorchard.io/graphql"
}

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

variable "customer_id_encryption_key" {
  type        = string
  description = "A key used to encrypt the customer ids provided to third parties. Public inside The Orchard as the information is not secret. Encryption is used as a reversable way to turn integer values into meaningless strings to avoid showing the customer with customer_id=1, 2, etc"
  default     = "59fjw9xh2230g"
}

variable "customer_id_encryption_iv" {
  type        = string
  description = "An IV used to encrypt the customer ids provided to third parties. Public inside The Orchard, same as the key"
  default     = "c4UpF8IfJHIiR7Mc"
}
