From 9c8485d97cb9ba2b595ef339dfd90632863ebe9d Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Thu, 28 Dec 2023 07:45:34 -0500 Subject: Use file:// syntax when passing in batch file --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-54-g00ecf