-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
53 lines (44 loc) · 1.65 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
#Module : VPC
#Description : Terraform module to VPC outputs.
output "vpc_id" {
value = join("", aws_vpc.default.*.id)
description = "The ID of the VPC."
}
output "vpc_cidr_block" {
value = join("", aws_vpc.default.*.cidr_block)
description = "The CIDR block of the VPC."
}
output "vpc_main_route_table_id" {
value = join("", aws_vpc.default.*.main_route_table_id)
description = "The ID of the main route table associated with this VPC."
}
output "vpc_default_network_acl_id" {
value = join("", aws_vpc.default.*.default_network_acl_id)
description = "The ID of the network ACL created by default on VPC creation."
}
output "vpc_default_security_group_id" {
value = join("", aws_vpc.default.*.default_security_group_id)
description = "The ID of the security group created by default on VPC creation."
}
output "vpc_default_route_table_id" {
value = join("", aws_vpc.default.*.default_route_table_id)
description = "The ID of the route table created by default on VPC creation."
}
output "vpc_ipv6_association_id" {
value = join("", aws_vpc.default.*.ipv6_association_id)
description = "The association ID for the IPv6 CIDR block."
}
output "ipv6_cidr_block" {
value = join("", aws_vpc.default.*.ipv6_cidr_block)
description = "The IPv6 CIDR block."
}
output "tags" {
value = module.labels.tags
description = "A mapping of tags to assign to the resource."
}
#Module : INTERNET GATEWAY
#Description : Terraform internet gateway module output variables.
output "igw_id" {
value = join("", aws_internet_gateway.default.*.id)
description = "The ID of the Internet Gateway."
}