-
Notifications
You must be signed in to change notification settings - Fork 0
/
subnet-pub.tf
33 lines (28 loc) · 888 Bytes
/
subnet-pub.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
# Subnets
resource "aws_subnet" "silvex-sn-172-33-pub-1" {
vpc_id = aws_vpc.silvex-vpc-172-33.id
cidr_block = "172.33.1.0/24"
map_public_ip_on_launch = "true"
availability_zone = "${var.SILVEX-REGION-A}"
tags = {
Name = "silvex-sn-172-33-pub-1"
}
}
resource "aws_subnet" "silvex-sn-172-33-pub-2" {
vpc_id = aws_vpc.silvex-vpc-172-33.id
cidr_block = "172.33.2.0/24"
map_public_ip_on_launch = "true"
availability_zone = "${var.SILVEX-REGION-B}"
tags = {
Name = "silvex-sn-172-33-pub-2"
}
}
resource "aws_subnet" "silvex-sn-172-33-pub-3" {
vpc_id = aws_vpc.silvex-vpc-172-33.id
cidr_block = "172.33.3.0/24"
map_public_ip_on_launch = "true"
availability_zone = "${var.SILVEX-REGION-C}"
tags = {
Name = "silvex-sn-172-33-pub-3"
}
}