diff --git a/infrastructure/modules/compute/certbot.sh b/infrastructure/modules/compute/certbot.sh index cebf6cb..afb413e 100644 --- a/infrastructure/modules/compute/certbot.sh +++ b/infrastructure/modules/compute/certbot.sh @@ -18,7 +18,7 @@ done case "$args" in "--renew") printf "Running Certbot (for renewal) before deploying certificate..\n\n" - certbot certonly --non-interactive --agree-tos -m webmaster@"$DOMAIN_NAME" --work-dir "$LETSENCRYPT_DIR"/lib --logs-dir "$LETSENCRYPT_DIR"/log --config-dir "$LETSENCRYPT_DIR"/etc --dns-route53 --preferred-challenges dns $domains + $certbot certonly --non-interactive --agree-tos -m webmaster@"$DOMAIN_NAME" --work-dir "$LETSENCRYPT_DIR"/lib --logs-dir "$LETSENCRYPT_DIR"/log --config-dir "$LETSENCRYPT_DIR"/etc --dns-route53 --preferred-challenges dns $domains ;; *) printf "Deploying existing certificate without running Certbot..\n\n"