-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
53 lines (45 loc) · 1.21 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
variable "name" {
description = "Subnet name"
type = string
default = ""
}
variable "vpc_id" {
description = "VPC ID where the subnet will be created"
type = string
default = ""
}
variable "availability_zone" {
description = "Availability zone of the subnet"
type = string
default = "eu-west-3a"
}
variable "public_subnet_id" {
type = string
description = "Public subnet ID that will host the NAT gateway"
default = ""
}
variable "cidr_block" {
description = "IPv4 CIDR block for the subnet"
type = string
default = "10.0.1.0/24"
}
variable "map_public_ip_on_launch" {
description = "Specify true to indicate that instances launched into the subnet should be assigned a public IP address"
type = bool
default = false
}
variable "has_internet_access" {
description = "Whether this networl has internet access"
type = bool
default = false
}
variable "private_internet_route_table_id" {
description = "Private internet route table ID"
type = string
default = ""
}
variable "tags" {
description = "A map of tags to add to all resources in the subnet"
type = map(string)
default = {}
}