From cd4786427efee6a262fd5e63ebc171f36b4fc81e Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Tue, 21 May 2024 02:58:46 -0400 Subject: [PATCH] debug --- test/test.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/test.sh b/test/test.sh index 29f49c0..6e9ad83 100755 --- a/test/test.sh +++ b/test/test.sh @@ -2,12 +2,11 @@ set -eou pipefail -pwd - JSON=$(terraform output -json) - +echo "$JSON" +echo "$JSON" | jq . KEYS=$(echo "$JSON" | jq -r '.urls.value | keys[]') - +echo $KEYS for KEY in $KEYS; do URL=$(echo "$JSON" | jq -r ".urls.value[\"$KEY\"]") echo "Testing $KEY at $URL"