-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
executable file
·80 lines (65 loc) · 1.4 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
// labelling
variable "name" {
type = string
default = "vpc"
}
variable "namespace" {
type = string
}
variable "stage" {
type = string
}
variable "tags" {
type = map(string)
default = {}
}
// vpc
variable "availability_zones" {
description = "list of AZs your VPC will utilise"
type = list(string)
}
variable "cidr_block" {
description = "Desired CIDR block"
type = string
}
variable "map_public_ipv4" {
description = "Map public IPv4 on creation"
type = bool
default = false
}
variable "enable_ipv6" {
description = "enable IPv6 on the VPC"
type = bool
default = true
}
variable "enable_dns_support" {
description = "Enable DNS support"
type = bool
default = true
}
variable "enable_dns_hostnames" {
description = "Enable DNS hostnames"
type = bool
default = true
}
variable "instance_tenancy" {
type = string
description = "EC2 instance tenancy (default, dedicated)"
default = "default"
}
// feature flags
variable "enable_public_subnet" {
type = bool
description = "Flag to enable public subnets"
default = true
}
variable "enable_private_subnet" {
type = bool
description = "Flag to enable private subnets"
default = true
}
variable "enable_isolated_subnet" {
type = bool
description = "Flag to enable isolated subnets"
default = true
}