# General variables
variable "environment" {
  type        = string
  description = "The environment prefix, e.g. dev, qa, prod"
  default     = "dev"
}

variable "transit_gateway_name_tag" {
  type        = string
  description = "Tag to use to differentiate between multiple transit gateways."
  default     = "transit-gateway"
}

variable "transit_gateway_description" {
  type        = string
  description = "Transit gateway description"
  default     = "transit gateway"
}

variable "transit_gateway_amazon_side_asn" {
  description = "Private Autonomous System Number (ASN) for the Amazon side of a BGP session. Must be unique."
  default     = 64512
}

variable "auto_accept_shared_attachments" {
  type        = string
  description = "Whether or not to auto-accept shared attachments"
  default     = "disable"
}

variable "default_route_table_association" {
  type        = string
  description = "Whether or not to associate resource attachments with the default association route table"
  default     = "enable"
}

variable "default_route_table_propagation" {
  type        = string
  description = "Whether or not resource attachments automatically propagate routes to the default propagation route table"
  default     = "enable"
}

variable "security_group_referencing_support" {
  type        = string
  description = "Whether or not security group referencing support is enabled"
  default     = "disable"
}

# Route options
variable "transit_gateway_blackhole_routes" {
  description = "List of blackhole routes to add to"
  default     = []
}

variable "transit_gateway_share_principals" {
  description = "List of principals to share the transit gateway resource with via RAM"
  default     = []
}
