Update Route53 domains.
Project description
Roadtrip: Route53 domain updates for humans named Matt. At least it works for him. You might find it useful too.
Installation
With pip:
$ pip install roadtrip
With setuptools:
$ easy_install roadtrip
Using
You can use roadtrip to update a round-robin A record, adding a new value if it doesn’t already exist:
$ roadtrip --type A --zone tinygophers.com --name serf1.tinygophers.com --value 1.2.3.4 --add
There is also a compact syntax for each option:
$ roadtrip -t A -z tinygophers.com -n serf1.tinygophers.com -v 1.2.3.4 -a
You can also remove a value from a list:
--type A --zone tinygophers.com --name serf1.tinygophers.com --value 1.2.3.4 --delete
Under the hood
Roadtrip will do its best not to add an entry that already exists or delete an entry that doesn’t. It uses UPSERT to update the values based on the values that exist when you call it.
WARNING:
Due to the nature of eventual consistency there is a chance that the values that roadtrip sees when it is run are different than the values stored in Route53. **ROADTRIP MIGHT HELP YOU LOSE DATA** if you are not careful. Please be careful.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
roadtrip-0.1.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for roadtrip-0.1.0-cp27-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1cc7a534856f113a3ba73c863370b0905d35710206dae9b435286994ecb89f0 |
|
MD5 | b4f8b40c3f77ea4a87692fae99f92632 |
|
BLAKE2b-256 | 255a76ce9bfc88f582cc3c3b356a6ebb57311113a0ee397911d238344281ba15 |