-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
43 lines (37 loc) · 1.28 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
variable "vpc_cidr_block" {
type = string
description = "CIDR block to assign to the VPC"
}
variable "name_prefix" {
type = string
default = ""
}
variable "common_tags" {
type = map(string)
description = "A mapping of tags to be applied to the created resources."
}
variable "public_subnet_tags" {
type = map(string)
description = "A mapping of tags to be applied to the public subnets."
default = {}
}
variable "private_subnet_tags" {
type = map(string)
description = "A mapping of tags to be applied to the private subnets."
default = {}
}
variable "public_subnet_cidrs" {
type = list(object({
cidr = string
az_index = number
}))
description = "List of objects reprisenting the public subnets CIDRs and their availability zones. The az_index property is used as an index to retireve a zone from the list of the availability zones for the current AWS region."
}
variable "private_subnet_cidrs" {
type = list(object({
cidr = string
az_index = number
}))
default = []
description = "List of objects reprisenting the private subnets CIDRs and their availability zones. The az_index property is used as an index to retireve a zone from the list of the availability zones for the current AWS region."
}