variable "aws_profile" {
  type        = string
  description = "The name of the AWS profile as set in the shared credentials file."
  default     = "gdb-prodhub-dev"
}

variable "aws_region_id" {
  type        = string
  description = "The id of the region in AWS"
  default     = "us-east-1"
}



variable "platform" {
  type = map(string)

  default = {
    name                = "Ecommerce"
    prefix              = "dev"
    environment         = "Development"
    short_platform_name = "ECMR"
  }
}

variable "vpc" {
  type        = map(string)
  description = "vpc attributes"

  default = {
    cidr_second_octet = "60"
  }
}

variable "public_subnets" {
  type    = list(number)
  default = [10, 11, 12]
}

variable "private_subnets" {
  type    = list(number)
  default = [13, 14, 15]
}

variable "gsirt_subnets" {
  type    = list(number)
  default = [19]
}

variable "key_pair_name" {
  type    = string
  default = "dev-ecommerce-default"
}

variable "projectgroup_whitelist" {
  type        = list(object({ cidr = string, description = string }))
  description = "List of CIDRs which will be whitelisted in addition to standard whitelist module list"
  default     = []
}

variable "vpn_servers" {
  type        = list(string)
  description = "List of CIDR's of vpn servers"
  default     = []
}

variable "web_whitelist" {
  type        = list(object({ cidr = string, description = string }))
  description = "List of external CIDRs with access to HTTPS port"
  default     = []
}

variable "admin_users" {
  type = list(string)
}

variable "admin_roles" {
  type    = list(string)
  default = []
}
