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 "swb_vpc_id" {
  type        = string
  description = "VPC id for the Switchboard services"
  default     = "vpc-0d77e477e6712e351"
}

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

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

variable "swb_role_arn" {
  type        = string
  description = "Switchboard role arn"
  default     = "arn:aws:iam::662302927201:role/qa-orchard-access"
}

variable "swb_graphql_url" {
  type        = string
  description = "Switchboard GraphQL URL"
  default     = "https://internal-api-qa.switchboard.fm/"
}

variable "swb_secret_arn" {
  type        = string
  description = "Switchboard secret arn"
  default     = "arn:aws:secretsmanager:us-east-1:662302927201:secret:qa-system-jwt-secret-FH9GOn"
}

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

variable "swb_vpc_subnet_ids" {
  type        = list(string)
  description = "Switchboard VPC subnets"
  default     = ["subnet-0039792f783ab75fd", "subnet-0dd9a0984ce97daf3"]
}

variable "secrets_manager_secret_names" {
  description = "List of secrets manager secrets to create"
  type        = list(string)
  default = [
    "SME_ANALYTICS_PROVIDER_USER",
    "SME_ANALYTICS_PROVIDER_PASSWD"
  ]
}
