AWS-DDNS added logging on run

This commit is contained in:
Price Hiller 2021-08-02 15:27:02 -05:00
parent fbd16211a0
commit 4632cbfd52

View File

@ -32,3 +32,8 @@ result="$(aws route53 change-resource-record-sets --hosted-zone-id "${HOSTED_ZON
echo \
"Current Record Status:
$(jq '.ChangeInfo.Status' <(echo "${result}"))"
current_time="$(date +%Y-%m-%dT%H:%M:%S)"
cat << EOF >> DDNS_Updates.log
DDNS Update made @ ${current_time}
EOF