terraform.aws-baseline-infra/modules/networking/vpc-subnet-manual/variables.tf

63 lines
1.4 KiB
HCL

variable "resource-prefix" {}
# VPC variables
variable "vpc-cidr" {
type = string
description = "CIDR of VPC to be created"
}
variable "private-subnet-cidrs" {
description = "List of private subnet cidrs"
type = list(string)
}
variable "public-subnet-cidrs" {
description = "List of public subnet cidrs"
type = list(string)
}
variable "create-nat-gateway" {
description = "Set true to deploy NAT gateway"
type = bool
default = false
}
variable "enable-flow-log" {
description = "Set true to deploy vpc flowlog"
type = bool
default = true
}
variable "vpcflowlog-retain-days" {
description = "Days to retain flowlog"
type = number
default = 90
}
variable "vpcflowlog-cwl-loggroup-key-arn" {
description = "CWL log group encryption key arn"
type = string
}
variable "create-free-vpc-endpoints" {
description = "Set true to deploy s3 and dynamodb endpoints, which are free"
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"
}