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 "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     = 1
}

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_name" {
  description = "Lambda function name"
  default     = "ddex-ingester-find-or-create-account"
}

variable "snowflake_user" {
  default = "PROD_SME_ANALYTICS_DDEX_INGESTER"
}

variable "snowflake_account" {
  default = "delphi.us-east-1"
}

variable "snowflake_schema" {
  default = "PROD"
}

variable "snowflake_warehouse" {
  default = "PROD_ETL_WAREHOUSE"
}

variable "snowflake_database" {
  default = "FACTS"
}

variable "snowflake_role" {
  default = "PROD_SME_ANALYTICS_DDEX_INGESTER_SERVICE_ROLE"
}


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