feat: defaults

This commit is contained in:
david committed 2024-05-01 14:50:47 +02:00
1 parent e106aeec8b
commit 5d9937808a
10 files changed
+83 -69

No files matched your search

+10 -8
View File
@@ -1,14 +1,15 @@
# variables.tf
variable "prefix" {
variable "prefix_name" {
description = "Value used to prefix resources name."
type = string
default = "noname"
default = null
}
variable "cidr_block" {
description = "The IPv4 CIDR block for the VPC."
type = string
default = null
}
variable "availability_zones" {
@@ -17,16 +18,17 @@ variable "availability_zones" {
default = null
}
variable "network_acl_disabled" {
description = "If disabled, default Network ACLs allow all inbound and outbound protocols."
type = bool
default = true
}
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
}