Skip to content

Commit cdc6162

Browse files
authored
Added private_dns and private_ip to output (#4)
1 parent 118f08f commit cdc6162

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

outputs.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@ output "public_ip" {
22
value = "${aws_eip.default.public_ip}"
33
}
44

5-
output "public_hostname" {
5+
output "private_ip" {
6+
value = "${aws_instance.default.private_ip}"
7+
}
8+
9+
output "private_dns" {
10+
value = "${aws_instance.default.private_dns}"
11+
}
12+
13+
output "public_dns" {
614
value = "${aws_instance.default.public_dns}"
715
}
816

0 commit comments

Comments
 (0)