Skip to content

Commit

Permalink
Merge pull request #3 from robbiet480/patch-1
Browse files Browse the repository at this point in the history
Append instead of replace so wildcards and SANs work
  • Loading branch information
whereisaaron authored Jun 24, 2018
2 parents 08faf00 + 2869019 commit aa8a961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ deploy_challenge() {

if [[ -n "$ZONE" ]]; then
echo "Creating challenge record for ${DOMAIN} in zone ${ZONE}"
cli53 rrcreate --replace --wait "${ZONE}" "_acme-challenge.${DOMAIN}. 60 TXT ${TOKEN_VALUE}"
cli53 rrcreate --append --wait "${ZONE}" "_acme-challenge.${DOMAIN}. 60 TXT ${TOKEN_VALUE}"
else
echo "Could not find zone for ${DOMAIN}"
exit 1
Expand Down

0 comments on commit aa8a961

Please sign in to comment.