49 lines
1.1 KiB
Terraform
49 lines
1.1 KiB
Terraform
|
/**
|
||
|
* Copyright © 2014-2022 HashiCorp, Inc.
|
||
|
*
|
||
|
* This Source Code is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this project, you can obtain one at http://mozilla.org/MPL/2.0/.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
variable "azs" {
|
||
|
description = "availability zones to use in AWS region"
|
||
|
type = list(string)
|
||
|
}
|
||
|
|
||
|
variable "common_tags" {
|
||
|
type = map(string)
|
||
|
description = "Tags for VPC resources"
|
||
|
}
|
||
|
|
||
|
variable "resource_name_prefix" {
|
||
|
description = "Prefix for resource names (e.g. \"prod\")"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "private_subnet_cidrs" {
|
||
|
description = "CIDR blocks for private subnets"
|
||
|
type = list(string)
|
||
|
default = [
|
||
|
"10.0.0.0/19",
|
||
|
"10.0.32.0/19",
|
||
|
"10.0.64.0/19",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
variable "public_subnet_cidrs" {
|
||
|
description = "CIDR blocks for public subnets"
|
||
|
type = list(string)
|
||
|
default = [
|
||
|
"10.0.128.0/20",
|
||
|
"10.0.144.0/20",
|
||
|
"10.0.160.0/20",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
variable "vpc_cidr" {
|
||
|
description = "CIDR block for VPC"
|
||
|
type = string
|
||
|
default = "10.0.0.0/16"
|
||
|
}
|
||
|
|