Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed May 21, 2024
1 parent d4a73a9 commit cd47864
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cd47864

Please sign in to comment.