summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 977b96a..36ab5fb 100755
--- a/update.sh
+++ b/update.sh
@@ -50,7 +50,7 @@ EOF
res=$(aws route53 change-resource-record-sets \
--hosted-zone-id $HOSTED_ZONE_ID \
--change-batch "file://$RECORD_CHANGE_JSON")
- status=$(jq -r '.ChangeInfo.Status' $res)
+ status=$(echo "$res" | jq -r '.ChangeInfo.Status')
if [ "$status" == "PENDING" ]; then
echo "Change submitted. Overall is Pending! (This is expected)"