-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
65 lines (54 loc) · 1.29 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
/*
Series of outputs you can use from this module to reference to other modules and resources.
*/
#### VPC
output "vpc_id" {
value = aws_vpc.default[0].id
}
output "vpc_name" {
value = aws_vpc.default[0].arn
}
output "igw_id" {
value = aws_internet_gateway.default[0].id
}
output "route_table_id" {
value = aws_vpc.default[0].main_route_table_id
}
output "default_route_table_id" {
value = aws_vpc.default[0].default_route_table_id
}
output "default_network_acl_id" {
value = aws_vpc.default[0].default_network_acl_id
}
output "default_security_group_id" {
value = aws_vpc.default[0].default_security_group_id
}
output "owner_id" {
value = aws_vpc.default[0].owner_id
}
### Security Group
output "sg_arn" {
value = aws_default_security_group.default[0].arn
}
output "sg_description" {
value = aws_default_security_group.default[0].description
}
output "sg_id" {
value = aws_default_security_group.default[0].id
}
output "sg_name" {
value = aws_default_security_group.default[0].name
}
output "sg_owner_id" {
value = aws_default_security_group.default[0].owner_id
}
### NGW
output "nat_owner_id" {
value = aws_internet_gateway.default[0].id
}
output "nat_arn" {
value = aws_internet_gateway.default[0].arn
}
output "nat_name" {
value = aws_internet_gateway.default[0].owner_id
}