summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteph Enders <steph@senders.io>2023-12-28 07:45:34 -0500
committerSteph Enders <steph@senders.io>2023-12-28 07:45:34 -0500
commit9c8485d97cb9ba2b595ef339dfd90632863ebe9d (patch)
tree41f76aafb66b7b8adc4ec2f871c5b9d48f14d873
parent78407ab1f8f0e5a2fd2d37e1a25aad8cff5f3759 (diff)
Use file:// syntax when passing in batch file
-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"