diff options
-rwxr-xr-x | update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)" |