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-neo4j"
}

variable "flow_name" {
  default = "youtube_neo4j"
}

variable "secrets_manager_service_name" {
  default = "youtube_neo4j"
}

variable "swf_domain" {
  default = "qa_swf_feed_ingestion"
}

variable "feed_ingestion_table" {
  default = "qa_feed_ingestion_status"
}

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

variable "snowflake_database" {
  default = "FACTS"
}

variable "snowflake_schema" {
  default = "QA"
}

variable "snowflake_warehouse" {
  default = "QA_ETL_WAREHOUSE"
}

variable "snowflake_role" {
  default = "QA_SWF_YOUTUBE_NEO4J_ETL"
}

variable "snowflake_user" {
  default = "QA_SWF_YOUTUBE_NEO4J_ETL"
}

variable "neo4j_url" {
  default = "neo4j+s://qa-neo4j-cluster.theorchard.io:7687"
}

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

variable "vpc_id" {
  description = "VPC ID"
  default     = "vpc-7f0e841a"
}

variable "fargate_private_subnets" {
  description = "private subnets"
  type        = list(string)
  default = [
    "subnet-5366ef24",
    "subnet-cb4dbae0",
  ]
}

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

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

locals {
  existing_swf_policy_names = [
    "SWF-fullaccess",
    "Dynamo-${var.environment}_feed_ingestion_status-RW"
  ]
}

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