-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
63 lines (51 loc) · 1.66 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
# Shared vars
variable "environment" {
description = "This is the environment this vpc will belong to, defaults to dev, used for naming and tagging the resource"
default = ""
}
variable "name" {
description = "The name of the app this VPC will host, as the environment string it is used to tag the resource and for easy identification"
default = "vpc"
}
# VPC vars
variable "cidr_block" {
description = "The CIDR block for this vpc, defaults to 10.254.0.0/16, please change this, do not use the default as it is too wide"
default = "10.254.0.0/16"
}
variable "enabled_ipv6" {
description = "Should we enable ipv6 on this? Will request a /56 block from amazon, defaults to false "
default = false
}
variable "instance_tenancy" {
description = "A tenancy option for instances launched into the VPC"
default = "default"
}
variable "enable_dns_hostnames" {
description = "A boolean flag to enable/disable DNS hostnames in the VPC"
default = true
}
variable "enable_dns_support" {
description = "A boolean flag to enable/disable DNS support in the VPC. Defaults true"
default = true
}
variable "additional_tags" {
description = "A set of extra tags for resources"
default = null
}
variable "depends" {
description = "A list of resources we depend on"
default = null
}
variable "enable_classiclink" {
description = "Enables classic link on this vpc"
default = false
}
variable "enable_classiclink_dns_support" {
description = "Enables classic link dns on this vpc"
default = false
}
# Subnets vars
variable "az_count" {
description = "How many az use to spread our load? defaults to 2"
default = 2
}