-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
80 lines (64 loc) · 2.32 KB
/
outputs.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
output "igw_id" {
value = aws_internet_gateway.this.id
description = "The ID of the Internet Gateway"
}
output "vpc_id" {
value = aws_vpc.this.id
description = "The ID of the VPC"
}
output "vpc_cidr_block" {
value = aws_vpc.this.cidr_block
description = "The CIDR block of the VPC"
}
output "vpc_main_route_table_id" {
value = aws_vpc.this.main_route_table_id
description = "The ID of the main route table associated with this VPC"
}
output "vpc_default_route_table_id" {
value = aws_vpc.this.default_route_table_id
description = "The ID of the route table created by default on VPC creation"
}
output "vpc_public_route_table_id" {
value = aws_route_table.public_subnet_route_table.id
description = "The ID of the route table associated with the public subnets of this VPC"
}
output "vpc_private_route_table_ids" {
value = ["${aws_route_table.private_subnet_route_table.*.id}"]
description = "The IDs of the route tables associated with each provate subnet of this VPC"
}
output "vpc_default_network_acl_id" {
value = aws_vpc.this.default_network_acl_id
description = "The ID of the network ACL created by default on VPC creation"
}
output "vpc_default_security_group_id" {
value = aws_vpc.this.default_security_group_id
description = "The ID of the security group created by default on VPC creation"
}
output "vpc_ipv6_association_id" {
value = aws_vpc.this.ipv6_association_id
description = "The association ID for the IPv6 CIDR block"
}
output "ipv6_cidr_block" {
value = aws_vpc.this.ipv6_cidr_block
description = "The IPv6 CIDR block"
}
output "vpc_s3_endpoint_id" {
value = aws_vpc_endpoint.this.id
description = "The ID of the S3 endpont associated to this VPC"
}
output "vpc_public_subnet" {
value = ["${aws_subnet.public_subnet.*.id}"]
description = "The IDs of the public subnets of this VPC"
}
output "vpc_private_subnet" {
value = ["${aws_subnet.private_subnet.*.id}"]
description = "The IDs of the private subnets of this VPC"
}
output "vpc_nat_eip" {
value = ["${aws_eip.public_subnet_nat_eip.*.id}"]
description = "The IDs of the NAT EIPs of this VPC"
}
output "vpc_nat" {
value = ["${aws_nat_gateway.public_subnet_nat.*.id}"]
description = "The IDs of the NATs of this VPC"
}