Skip to content

Instantly share code, notes, and snippets.

@jpwynn
jpwynn / update_all_my_r53_domain_contacts.rb
Last active May 6, 2022 21:47
a quick ruby script to update route53 contacts for all registered domains, since R53 dashboard STILL offers no way to do that
# assumes gem is installed for current ruby version:
# gem install aws-sdk-route53domains
# assumes you have already setup a named-profile YOUR_PROFILE_NAME for an aws cli credential with sufficient access
# to your route53 to list and update domain registration records
# an IAM user with AmazonRoute53FullAccess is overkill, dangerous, but easiest
# ======
require 'aws-sdk-route53domains'