-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
108 lines (90 loc) · 2.67 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
variable "name" {
description = "The name of the VPC."
type = string
default = null
}
variable "existing_vpc_id" {
description = "The ID of an existing VPC to use instead of creating a new one."
type = string
default = null
}
variable "create_outside_route_table" {
description = "Whether to create an outside route table for the outside subnets."
type = bool
default = true
}
variable "create_internet_gateway" {
description = "Whether to create an internet gateway."
type = bool
default = true
}
variable "create_outside_security_group" {
description = "Whether to create an outside security group."
type = bool
default = true
}
variable "create_inside_security_group" {
description = "Whether to create an inside security group."
type = bool
default = true
}
variable "create_udp_security_group_rules" {
description = "Whether to create UDP security group rules."
type = bool
default = true
}
variable "tags" {
description = "A map of tags to add to all resources."
type = map(string)
default = {}
}
variable "az_names" {
description = "Availability Zone Names for Subnets."
type = list(string)
default = []
}
variable "local_subnets" {
description = "Local Subnet CIDR Blocks."
type = list(string)
default = []
}
variable "inside_subnets" {
description = "Inside Subnet CIDR Blocks."
type = list(string)
default = []
}
variable "outside_subnets" {
description = "Outside Subnet CIDR Blocks."
type = list(string)
default = []
}
variable "workload_subnets" {
description = "Workload Subnet CIDR Blocks."
type = list(string)
default = []
}
variable "vpc_cidr" {
description = "The Primary IPv4 block cannot be modified. All subnets prefixes in this VPC must be part of this CIDR block."
type = string
default = null
}
variable "vpc_instance_tenancy" {
description = "A tenancy option for instances launched into the VPC."
type = string
default = "default"
}
variable "vpc_enable_dns_hostnames" {
description = "Should be true to enable DNS hostnames in the VPC."
type = bool
default = true
}
variable "vpc_enable_dns_support" {
description = "Should be true to enable DNS support in the VPC."
type = bool
default = true
}
variable "vpc_enable_network_address_usage_metrics" {
description = "Determines whether network address usage metrics are enabled for the VPC."
type = bool
default = false
}