Skip to content

Instantly share code, notes, and snippets.

View patrakov's full-sized avatar

Alexander Patrakov patrakov

View GitHub Profile
@patrakov
patrakov / route53.py
Last active June 16, 2022 04:56 — forked from nh2/route53.py
route53 hook for dehydrated - python2 / python3 + boto2 version. Tested on Ubuntu 16.04
#!/usr/bin/env python
# How to use:
#
# Ubuntu 16.04: apt install -y python-boto OR apt install -y python3-boto
#
# Specify the default profile on aws/boto profile files or use the optional AWS_PROFILE env var:
# AWS_PROFILE=example ./dehydrated -c -d example.com -t dns-01 -k /etc/dehydrated/hooks/route53.py
#
# Manually specify hosted zone: