variable "aws_region" {
  default     = "us-east-1"
  description = "Fargate AWS region"
}

variable "environment" {
  description = "Available values:  qa"
  default     = "qa"
}

variable "service_name" {
  default = "swf-spotify-artificial-streams"
}

variable "flow_name" {
  default = "spotify_artificial_streams"
}

variable "secrets_manager_service_name" {
  default = "spotify-art-streams"
}

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

variable "swf_domain" {
  default = "qa_swf_feed_ingestion"
}

variable "feed_ingestion_data_bucket" {
  default = "qa-cucumbers"
}

variable "feed_ingestion_drop_bucket" {
  default = "prod-orcd-ftp"
}

variable "feed_ingestion_table" {
  default = "qa_feed_ingestion_status"
}

variable "logger_dsn" {
  default = "https://qa-fluentd-applications.theorchard.io:8888/application"
}

variable "notification_endpoint" {
  default = "@slack-team-data-ingestion-alerts"
}

variable "escalation_notification_endpoints" {
  default = "@slack-data"
}

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

variable "snowflake_schema" {
  default = "QA"
}

variable "snowflake_warehouse" {
  default = "QA_ETL_WAREHOUSE"
}

variable "snowflake_database" {
  default = "FACTS"
}

variable "snowflake_role" {
  default = "FACTS_DB_QA_SCHEMA_READWRITE"
}

variable "snowflake_user" {
  default = "QA_SWF_SPOTIFY_ARTIFICIAL_STREAMS_ETL"
}

variable "application_family" {
  default = "data-platform"
}

variable "team_name" {
  default = "data-platform"
}

locals {
  pre_existing_policy_names = [
    "S3-prod-orcd-ftp-SpotifyMarketShare-RO",
    "SWF-fullaccess",
    "S3-qa-cucumbers-RW",
    "Dynamo-${var.environment}_feed_ingestion_status-RW",
  ]
  tags = {
    application_family = var.application_family
    environment        = var.environment
    role               = "service-user"
    terraformed        = true
  }
}
