Skip to content

Instantly share code, notes, and snippets.

@jbouse
Created July 9, 2018 14:32
Show Gist options
  • Save jbouse/6766fb6d14ea793b9254ff4ec9eb7ca6 to your computer and use it in GitHub Desktop.
Save jbouse/6766fb6d14ea793b9254ff4ec9eb7ca6 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
trap - INT TERM
docker run --rm \
-t $(tty &>/dev/null && echo "-i") \
$(echo "-e AWS_PROFILE=${AWS_PROFILE:-dev}") \
-v ${HOME}/.aws:/root/.aws \
-v ${HOME}/letsencrypt:/etc/letsencrypt \
jtbouse/certbot-route53 \
$@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment