-
Notifications
You must be signed in to change notification settings - Fork 51
/
outputs.tf
42 lines (41 loc) · 1.09 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
# Outputs
output "extSubnetAz1" {
description = "ID of External subnet AZ1"
value = module.vpc.public_subnets[0]
}
output "extSubnetAz2" {
description = "ID of External subnet AZ2"
value = module.vpc.public_subnets[1]
}
output "intSubnetAz1" {
description = "ID of Internal subnet AZ1"
value = module.vpc.intra_subnets[0]
}
output "intSubnetAz2" {
description = "ID of Internal subnet AZ2"
value = module.vpc.intra_subnets[1]
}
output "mgmtSubnetAz1" {
description = "ID of Management subnet AZ1"
value = aws_subnet.mgmtAz1.id
}
output "mgmtSubnetAz2" {
description = "ID of Management subnet AZ2"
value = aws_subnet.mgmtAz2.id
}
output "extNsg" {
description = "ID of External security group"
value = aws_security_group.external.id
}
output "intNsg" {
description = "ID of Internal security group"
value = aws_security_group.internal.id
}
output "mgmtNsg" {
description = "ID of Management security group"
value = aws_security_group.mgmt.id
}
output "vpcId" {
description = "VPC ID"
value = module.vpc.vpc_id
}