-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathoutputs.tf
44 lines (36 loc) · 1.43 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
output "vpc_id" {
description = "The ID of VPC"
value = module.vpc.this_vpc_id
}
output "vpc_cidr_block" {
description = "The CIDR IP Range Block of VPC"
value = module.vpc.this_vpc_cidr_block
}
output "public_subnet_ids" {
description = "The List of Public Subnet ID of VPC"
value = module.vpc.public_subnet_ids
}
output "private_subnet_ids" {
description = "The List of Private Subnet ID of VPC"
value = module.vpc.private_subnet_ids
}
output "admin_security_group_id" {
description = "The ID of Security Group for Admin access"
value = module.vpc.admin_security_group_id
}
output "web_security_group_id" {
description = "The ID of Security Group for Web(HTTP) access"
value = module.vpc.web_security_group_id
}
output "webserver_instances_ids" {
description = "The list of EC2 Instance ID as web servers"
value = module.webserver.webserver_instances_ids
}
output "webserver_instances_public_ips" {
description = "The list of public IP address of EC2 Instance ID as web servers"
value = module.webserver.webserver_instances_public_ips
}
output "webserver_instances_private_ips" {
description = "The list of private IP address of EC2 Instance ID as web servers"
value = module.webserver.webserver_instances_private_ips
}