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

variable "environment" {
  default = "dev"
}

variable "service_name" {
  default = "jira-webhook-github-issues"
}

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

variable "jira_egress_ips" {
  type        = list(string)
  description = "List of IPv4 CIDR blocks for Jira egress IPs allowed to access the load balancer"
  default    = [
    "13.52.5.96/28",
    "13.200.41.128/25",
    "13.236.8.224/28",
    "16.63.53.128/25",
    "18.136.214.96/28",
    "18.184.99.224/28",
    "18.234.32.224/28",
    "18.246.31.224/28",
    "43.202.69.0/25",
    "52.215.192.224/28",
    "104.192.136.0/21",
    "185.166.140.0/22",
  ]
}

variable "authorizer_secret_names" {
  type        = list(string)
  description = "List of secret names for authorizer"
  default     = ["JIRA_SHARED_SECRET"]
}

variable "consumer_secret_names" {
  type        = list(string)
  description = "List of secret names for SQS consumer"
  default     = ["GITHUB_TOKEN"]
}
