-
Notifications
You must be signed in to change notification settings - Fork 4
/
outputs.tf
39 lines (32 loc) · 940 Bytes
/
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
output "domain_name" {
value = aws_route53_record.entry.name
description = "The domain name record"
}
output "ec2_id" {
value = module.ec2_instance.id
description = "EC2 instance ID"
}
output "ec2_private_ip" {
value = module.ec2_instance.private_ip
description = "EC2 instance private IP address"
}
output "ec2_public_ip" {
value = aws_eip.ip.public_ip
description = "EC2 instance public IP address"
}
output "public_subnets" {
value = module.vpc.public_subnets
description = "List of IDs of public subnets"
}
output "public_subnet_cidr_blocks" {
value = module.vpc.public_subnets_cidr_blocks
description = "List of cidr_blocks of public subnets"
}
output "security_group_id" {
value = module.security_group.security_group_id
description = "The ID of the security group"
}
output "vpc_id" {
value = module.vpc.vpc_id
description = "The ID of the VPC"
}