-
Notifications
You must be signed in to change notification settings - Fork 0
/
securitygroup-outputs.tf
39 lines (33 loc) · 1.11 KB
/
securitygroup-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
# AWS EC2 Security Group Terraform Outputs
# Public Bastion Host Security Group Outputs
## public_bastion_sg_group_id
output "public_bastion_sg_group_id" {
description = "The ID of the security group"
value = module.public_bastion_sg.security_group_id
}
## public_bastion_sg_group_vpc_id
output "public_bastion_sg_group_vpc_id" {
description = "The VPC ID"
value = module.public_bastion_sg.security_group_vpc_id
}
## public_bastion_sg_group_name
output "public_bastion_sg_group_name" {
description = "The name of the security group"
value = module.public_bastion_sg.security_group_name
}
# Private EC2 Instances Security Group Outputs
## private_sg_group_id
output "private_sg_group_id" {
description = "The ID of the security group"
value = module.private_sg.security_group_id
}
## private_sg_group_vpc_id
output "private_sg_group_vpc_id" {
description = "The VPC ID"
value = module.private_sg.security_group_vpc_id
}
## private_sg_group_name
output "private_sg_group_name" {
description = "The name of the security group"
value = module.private_sg.security_group_name
}