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

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

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 "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 "SNOWFLAKE_USER" {
  default = "QA_LAMBDA_GET_ISRC_BATCHES_FROM_SNOWFLAKE_SERVICE_USER"
}

variable "SNOWFLAKE_ACCOUNT" {
  default = "orchard"
}

variable "SNOWFLAKE_ROLE" {
  default = "QA_LAMBDA_GET_ISRC_BATCHES_FROM_SNOWFLAKE_SERVICE_USER_ROLE"
}

variable "SNOWFLAKE_WAREHOUSE" {
  default = "QA_ETL_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     = 5
}

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

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