Files
terraform-aws-vpc-factory/variables.tf
T
2024-05-01 14:50:47 +02:00

35 lines
793 B
Terraform

# variables.tf
variable "prefix_name" {
description = "Value used to prefix resources name."
type = string
default = null
}
variable "cidr_block" {
description = "The IPv4 CIDR block for the VPC."
type = string
default = null
}
variable "availability_zones" {
description = "Target availability zones."
type = list(string)
default = null
}
variable "subnet_groups" {
description = "One subnet in each availablity zone is created per subnet group."
type = map(object({
cidr_block = string
default_route = optional(string, "")
}))
default = null
}
variable "network_acl_disabled" {
description = "If disabled, default Network ACLs allow all inbound and outbound protocols."
type = bool
default = true
}