37 lines
706 B
HCL
37 lines
706 B
HCL
variable resource-prefix {}
|
|
|
|
# VPC variables
|
|
variable "vpc-cidr" {}
|
|
|
|
variable "private-subnet-cidrs" {
|
|
type = list(any)
|
|
}
|
|
|
|
variable "public-subnet-cidrs" {
|
|
type = list(any)
|
|
}
|
|
|
|
variable "create-nat-gateway" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
variable "enable-flow-log" {
|
|
type = bool
|
|
default = true
|
|
}
|
|
variable "vpcflowlog-retain-days" {
|
|
type = number
|
|
default = 90
|
|
}
|
|
variable "vpcflowlog-cwl-loggroup-key-arn" {}
|
|
# variable "private-subnet-cidrs" {}
|
|
# variable "public-subnet-cidrs" {}
|
|
variable "create-free-vpc-endpoints" {
|
|
type = bool
|
|
default = true
|
|
}
|
|
variable "secondary_cidr_blocks" {
|
|
type = list(string)
|
|
description = "Additional cidr blocks"
|
|
default = []
|
|
} |