49 lines
1020 B
HCL
49 lines
1020 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 = []
|
|
}
|
|
|
|
variable "num_azs" {
|
|
description = "By default, use 2 AZs for redundancy"
|
|
type = number
|
|
default = 2
|
|
}
|
|
|
|
variable "log-group-class" {
|
|
description = "Log group class for flowlog cloudwatch log group, which can be STANDARD or INFREQUENT_ACCESS"
|
|
type = string
|
|
default = "STANDARD"
|
|
} |