forked from telia-oss/terraform-aws-vpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
49 lines (41 loc) · 1.37 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
44
45
46
47
48
# ------------------------------------------------------------------------------
# Variables
# ------------------------------------------------------------------------------
variable "name_prefix" {
description = "A prefix used for naming resources."
type = string
}
variable "cidr_block" {
description = "The CIDR block for the VPC."
type = string
}
variable "availability_zones" {
description = "The availability zones to use for subnets and resources in the VPC. By default, all AZs in the region will be used."
type = list(string)
default = []
}
variable "public_subnet_cidrs" {
description = "A list of CIDR blocks to use for the public subnets."
type = list(string)
default = []
}
variable "private_subnet_cidrs" {
description = "A list of CIDR blocks to use for the private subnets."
type = list(string)
default = []
}
variable "create_nat_gateways" {
description = "Optionally create NAT gateways (which cost $) to provide internet connectivity to the private subnets."
type = bool
default = true
}
variable "enable_dns_hostnames" {
description = "A boolean flag to enable/disable DNS hostnames in the VPC."
type = bool
default = false
}
variable "tags" {
description = "A map of tags (key-value pairs) passed to resources."
type = map(string)
default = {}
}