Skip to content

Commit 87af9a5

Browse files
Update outputs.tf
Allow more than one public IP
1 parent 1fc2ad7 commit 87af9a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: outputs.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ output "az" {
1616
}
1717

1818
output "public_ip" {
19-
value = concat(aws_eip.default.*.public_ip, aws_instance.default.*.public_ip, [""])[0]
19+
value = concat(aws_eip.default.*.public_ip, aws_instance.default.*.public_ip, [""])
2020
description = "Public IP of instance (or EIP)."
2121

2222
}

0 commit comments

Comments
 (0)