-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
51 lines (39 loc) · 845 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
40
41
42
43
44
45
46
47
48
49
50
51
output "availability_zones" {
value = data.aws_availability_zones.available.names
}
output "vpc_id" {
value = aws_vpc.vpc.id
}
output "public_subnets_id" {
value = join(",", aws_subnet.public.*.id)
}
output "private_subnets_id" {
value = join(",", aws_subnet.private.*.id)
}
output "ssh_sg_id" {
value = aws_security_group.ssh_sg.id
}
output "web_sg_id" {
value = aws_security_group.web_sg.id
}
output "elb_sg_id" {
value = aws_security_group.elb_sg.id
}
output "rds_sg_id" {
value = aws_security_group.rds_sg.id
}
output "ec2key_name" {
value = aws_key_pair.ec2key.key_name
}
output "ec2_id" {
value = join(",", aws_instance.ec2.*.id)
}
output "rds_address" {
value = aws_db_instance.rds.address
}
output "elb_dns_name" {
value = aws_elb.elb.dns_name
}
output "elb_zone_id" {
value = aws_elb.elb.zone_id
}