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

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

variable "service_name" {
  default = "swf-youtube-claim"
}

variable "flow_name" {
  default = "youtube_claim"
}

variable "secrets_manager_service_name" {
  default = "youtube_claim"
}

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

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

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

variable "additional_tags" {
  default = {
  }
}

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

variable "feed_ingestion_table" {
  default = "qa_feed_ingestion_status"
}

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

variable "snowflake_database" {
  default = "FACTS"
}

variable "snowflake_role" {
  default = "FACTS_DB_QA_SCHEMA_READWRITE"
}

variable "snowflake_schema" {
  default = "QA"
}

variable "snowflake_user" {
  default = "QA_SWF_YOUTUBE_CLAIM_ETL"
}

variable "snowflake_warehouse" {
  default = "QA_ETL_WAREHOUSE"
}

variable "spotify_api_client_id" {
  default = "orchard"
}

variable "spotify_api_licensor" {
  default = "theorchard"
}

variable "youtube_claim_ftp_host" {
  default = "sftp.theorchard.com"
}

variable "youtube_claim_ftp_port" {
  default = "22"
}

variable "youtube_claim_ftp_username" {
  default = "weekly_ingest"
}

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

locals {
  existing_swf_policy_names = [
    "SWF-fullaccess",
    "Dynamo-${var.environment}_feed_ingestion_status-RW",
    "Athena-prod-sme-temp-db-policy",
    "SecretsManager-${var.environment}-swf-shared-youtube-access-token-policy",
    "S3-${var.environment}-cucumbers-RW",
  ]

  tags = {
    application_family = var.application_family
    environment        = var.environment
    role               = "service-user"
    terraformed        = true
  }
}

variable "athena_workgroup" {
  default = "prod_sme_temp_workgroup"
}

variable "sme_athena_database" {
  default = "sme_youtube_api_db"
}

variable "sme_athena_temp_database" {
  default = "prod_sme_temp_db"
}

variable "ebs_volume_container_path" {
  description = "Path inside container to mount EBS volume"
  default     = "/mnt/efs"
}

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