variable "env_prefix" {
  type        = string
  description = "Prefix of the environment, lowercased"
}

variable "project_group" {
  type        = string
  description = "Project group name, lowercased"
}

variable "name" {
  type        = string
  default     = ""
  description = "The name of the resource"
}

variable "ipv4_addresses" {
  type        = list(string)
  description = "Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation."
}

variable "ipv6_addresses" {
  type        = list(string)
  description = "Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation."
}

variable "scope" {
  type        = string
  description = "Specifies whether this is for an AWS CloudFront distribution or for a regional application."
  default     = "REGIONAL"
}

variable "wcus_capacity" {
  type        = string
  description = "The web ACL capacity units (WCUs) required for this rule group."
  default     = 1 // for IP set match it's 1
}

variable "action" {
  type        = string
  description = "The action that AWS WAF should take on a web request when it matches the rule's statement."
  default     = "block"
}

variable "common_tags" {
  type        = map(string)
  description = "Common tags to add for the objects"
  default     = {}
}

variable "shared_waf_logs_bucket_arn" {
  default = "arn:aws:s3:::aws-waf-logs-shared-orcd"
}
