terraform.aws-baseline-infra/modules/networking/vpc_subnets/variables.tf
2021-01-28 16:36:32 +08:00

35 lines
721 B
HCL

variable "customer-name" {}
variable "environment" {}
variable "project" {}
variable "application" {}
variable "default-tags" {}
variable "aws-region" {}
variable "aws-region-short" {}
locals {
resource-prefix = "${var.environment}-${var.aws-region-short}-${var.customer-name}-${var.project}"
}
# VPC variables
variable vpc-cidr {}
variable number-of-public-subnets-per-az {
type = number
default = 0
}
variable number-of-private-subnets-per-az {
type = number
default = 0
}
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 {}