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

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

variable "service_name" {
  default = "swf-proper-incoming"
}

variable "secrets_path" {
  default = "proper_incoming"
}

variable "flow_name" {
  default = "proper_incoming"
}

variable "feed_ingestion_data_bucket" {
  default = "cucumbers"
}

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

variable "snowflake_database" {
  default = "PROD"
}

variable "snowflake_schema" {
  default = "PRODUCTION"
}

variable "snowflake_warehouse" {
  default = "PROD_ETL_WAREHOUSE"
}

variable "snowflake_role" {
  default = "SWF_QUERIER"
}

variable "snowflake_user" {
  default = "PROD_SWF_PROPER_INCOMING_ETL"
}

variable "data_drop_ftp_host" {
  default = "ftp.theorchard.com"
}

variable "feed_ingestion_sns_topic" {
  default = "arn:aws:sns:us-east-1:437795906767:prod-swf-feed-ingestion"
}

variable "orchardetl_logger_host" {
  default = "etl-logger-vpc.cb22xqmk0y0q.us-east-1.rds.amazonaws.com"
}

variable "orchardetl_logger_user" {
  default = "orcd_logger_prod"
}

variable "proper_drop_ftp_host" {
  default = "ftp.properweb.co.uk"
}

variable "proper_ftp_path" {
  default = "/ESSN/daily/"
}

variable "proper_ftp_username" {
  default = "sony"
}

variable "proper_mysql_dbname" {
  default = "art_relations"
}

variable "proper_mysql_host" {
  default = "ar-db.theorchard.com"
}

variable "proper_mysql_user" {
  default = "swf-proper"
}

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

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

variable "additional_tags" {
  default = {
    "map-migrated" = "d-server-032vmw3df2dk6f"
  }
}

variable "secret_names" {
  description = "List of secret names to be attached to the task"
  type        = list(string)
  default = [
    "SNOWFLAKE_KEY",
  ]
}

locals {
  feed_ingestion_table = "${var.environment}_feed_ingestion_status"
  swf_domain           = "${var.environment}_swf_feed_ingestion"
  existing_swf_policy_names = [
    "SWF-fullaccess",
    "S3-${var.environment}-cucumbers-RW",
    "Dynamo-${var.environment}_feed_ingestion_status-RW",
    "SNS-${var.environment}-swf-feed-ingestion-Publish",
  ]
}
