terraform.aws-baseline-infra/modules/networking/vpc_subnets/variables.tf

35 lines
721 B
Terraform
Raw Normal View History

2021-01-28 15:04:01 +08:00
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 {}
2021-01-28 16:36:32 +08:00
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
}
2021-01-28 15:04:01 +08:00
variable enable-flow-log {
type = bool
default = true
}
variable vpcflowlog-retain-days {
type = number
default = 90
2021-01-28 16:36:32 +08:00
}
variable vpcflowlog-cwl-loggroup-key-arn {}