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

variable vpc_security_group_ids {
  type = "list"
  description = "Security group IDs for the VPC where the lambdas will execute"
}

variable vpc_subnet_ids {
  type = "list"
  description = "VPC subnet IDs where the lambdas will execute"
}

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

variable "iam_policy_file_location" {
  default = "../modules/lambdas/policies"
}

variable "lambda_default_memory_size" {
  description = "Memory size for the soundexchange reconfirmation and overlaping report lambda function"
  default = "256"
}

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

variable "sentry_dsn_soundexchange_reconfirmation_report" {
  description = "Sentry pool for the soundexchange_reconfirmation_report lambda"
}

variable "sentry_dsn_soundexchange_overlap_report" {
  description = "Sentry pool for the soundexchange_overlap_report lambda"
}

variable snowflake_account {
  type = "string"
  description = "Snowflake account"
}

variable snowflake_warehouse {
  type = "string"
  description = "Warehouse name"
}

variable snowflake_role {
  type = "string"
  description = "snowflake_role"
}

variable snowflake_user {
  type = "string"
  description = "snowflake_user"
}

variable snowflake_password {
  type = "string"
  description = "Password"
}

variable snowflake_db {
  type = "string"
  description = "Database name"
}

variable snowflake_schema {
  type = "string"
  description = "Schema name"
}

variable snowflake_table {
  type = "string"
  description = "Table name"
}

variable home {
  type = "string"
  description = "home directory path"
  default = "/tmp"
}

variable snowflake_aws_access_key {
  type = "string"
  description = "Snowflake AWS access key"
}

variable snowflake_aws_secret_access_key {
  type = "string"
  description = "Snowflake AWS secret access key"
}

variable s3_bucket_name {
  type = "string"
  description = "S3 bucket name (without prefix)"
}

variable s3_reconfirmation_prefix {
  type = "string"
  description = "S3 key prefix"
}

variable s3_overlap_prefix {
  type = "string"
  description = "S3 key prefix"
}

variable "slack_webhook_url" {
  type = "string"
  description = "Slack webhook url"
}

variable "s3_reconfirmation_suffix" {
  type = "string"
  description = "S3 key suffix"
  default = ".xlsx"
}

variable "s3_overlap_suffix" {
  type = "string"
  description = "S3 key suffix"
  default = ".xlsx"
}
