summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index dfe0a5d..136eb60 100755
--- a/update.sh
+++ b/update.sh
@@ -49,7 +49,7 @@ if [ "$config_ip" != "$actual_ip" ]; then
EOF
aws route53 change-resource-record-sets \
--hosted-zone-id $HOSTED_ZONE_ID \
- --change-batch $RECORD_CHANGE_JSON
+ --change-batch "file://$RECORD_CHANGE_JSON"
else
echo "$DOMAIN is currently registered properly: $config_ip $actual_ip"