-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
68 lines (53 loc) · 1.19 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
/*
* VPC OUTPUTED RESOURCES
*
* Author : Joffrey DUPIRE <[email protected]>
* Purpose : A fulfully modelable VPC
*
*/
# OUTPUT FROM MAIN
output "vpc_id" {
value = aws_vpc.vpc.id
}
# OUTPUT FROM SUBNETS MODULE
output "public_subnet_ids" {
value = module.subnets.public_subnet_ids
}
output "private_subnet_ids" {
value = module.subnets.private_subnet_ids
}
output "internet_gateway_id" {
value = module.subnets.internet_gateway_id
}
output "nat_gateway_ids" {
value = module.subnets.nat_gateway_ids
}
output "nat_gateway_ips" {
value = module.subnets.nat_gateway_ips
}
output "public_rtb" {
value = module.subnets.public_rtb
}
output "private_rtb" {
value = module.subnets.private_rtb
}
# OUTPUT FROM FLOWLOGS
output "s3_logging_bucket_name" {
value = module.flowlogs.s3_logging_bucket_name
}
output "s3_logging_bucket_dns" {
value = module.flowlogs.s3_logging_dns
}
output "s3_logging_bucket_arn" {
value = module.flowlogs.s3_logging_arn
}
output "s3_policy" {
value = module.flowlogs.s3_policy
}
# OUTPUT FROM VPC_PEERING
output "vpc_peering_id" {
value = module.vpc_peering.id
}
output "vpc_peering_accept_status" {
value = module.vpc_peering.accept_status
}