variable "region" {
  default = "us-east-1"
}

variable "environment" {
  default = "prod"
}

variable "service_name" {
  default = "graphql-abacus"
}

variable "task_memory" {
  default = 2048
}

variable "datadog_task_memory" {
  default = 256
}

variable "fluentbit_task_memory" {
  default = 64
}

variable "application_family" {
  default     = "accounting"
  description = "Application family to which abacus belongs"
}

variable "s3_payments_bucket_name" {
  default     = "prod-abacus-payments"
  description = "S3 bucket to store objects related to payment group payments"
}

variable "s3_abacus_adjustments_usage_policy" {
  default     = "S3-prod-abacus-adjustments-usage-policy"
  description = "S3 policy which will give read/write access to prod-abacus-adjustments S3 bucket"
}

variable "bucket_upload_token_duration" {
  default     = 3600
  description = "Duration for bucket upload token credential, in seconds"
}

variable "existing_policies_to_attach" {
  description = "List of existing IAM policies to be attached to Fargate service."
  type        = list(string)
  default = [
    "S3-prod-abacus-adjustments-usage-policy",
  ]
}

variable "dependent_applications" {
  default = [
    "royalties", "abacus", "moneyhub", "insights", "documents",
  "collaborator-suite", "settings", "content"]
}

