Replaced the hard code

This commit is contained in:
butomo1989 2018-08-30 13:36:53 +02:00
parent aa7a798f62
commit 6b657dd13e

View file

@ -131,7 +131,7 @@ resource "aws_instance" "geny_aws_$index" {
}
output "public_dns_$index" {
value = "\${aws_instance.geny_aws_1.public_dns}"
value = "\${aws_instance.geny_aws_$index.public_dns}"
}
_EOF
)