From 6b657dd13e6865ca583b6bc9ea4052ebb388423e Mon Sep 17 00:00:00 2001 From: butomo1989 Date: Thu, 30 Aug 2018 13:36:53 +0200 Subject: [PATCH] Replaced the hard code --- src/appium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appium.sh b/src/appium.sh index 195a347..e5cbdd8 100644 --- a/src/appium.sh +++ b/src/appium.sh @@ -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 )