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

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

variable service_name {
  default = "lambda-insights-isrc-availability-tests"
}

variable "application_family" {
  description = "Application family of which this is a component. Used for tagging"
  default     = "cypress"
}

variable "vpc_subnet_ids" {
  type        = list(any)
  description = "VPC subnet IDs where the lambdas will execute"
  default     = ["subnet-cb4dbae0", "subnet-5366ef24"]
}

variable "sme_isrc_finder_lambda_name" {
  default = "lambda-sme-isrc-finder"
}

variable "get_isrc_batches_from_snowflake_lambda_name" {
  default = "lambda-get-isrc-batches-from-snowflake"
}

variable "gql_user_identity_id" {
  default = "3c6d221d-9667-4c45-ac5a-5384fe93ae6d"
}

variable "gql_client_name" {
  default = "lambda-sme-isrc-finder"
}

variable "gql_profile_id" {
  default = "489575"
}

variable "gql_profile_type" {
  default = "InsightsProfile"
}

variable "grass_uri" {
  default = "https://ows-grass.theorchard.io/graphql-router/graphql"
}

variable "SNOWFLAKE_USER" {
  default =  "PROD_QA_AUTOMATION_USER"
}

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

variable "SNOWFLAKE_ROLE" {
  default =  "PROD_QA_AUTOMATION"
}

variable "SNOWFLAKE_WAREHOUSE" {
  default =  "PROD_QA_AUTOMATION_WAREHOUSE"
}

variable "SNOWFLAKE_DATABASE" {
  default =  "ORCHARD_APP_REPORTING_V2"
}

variable "SNOWFLAKE_SCHEMA" {
  default =  "GRPS_EXP"
}

variable "insights_isrc_availability_state_machine_definition_file" {
  default = "sfn_insights_isrc_availability.json"
}

variable "wait_time_between_runs" {
  description = "The time to wait between runs of the lambda when isrcs are missing"
  type = number
  default = 1800
}

variable "maximum_lambda_runs" {
  description = "The maximum number of times the lambda will run before missing isrcs are reported"
  type = number
  default = 11
}

variable "insights_isrc_availability_state_machine_name" {
  description = "Name of insights_isrc_availability state machine."
  default     = "sfn_insights_isrc_availability"
}

variable "BATCH_SIZE" {
  description = "The number of ISRCs in each batch"
  type = number
  default = 200
}

variable "bucket_name" {
  description = "Name of the S3 bucket where the lambda will store the ISRC data"
  default     = "lambda-insights-isrc-availability-tests"
}
