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 example.com --name mycluster.example.com --value 1.2.3.4 --add
There is also a compact syntax for each option:
$ roadtrip -t A -z example.com -n mycluster.example.com -v 1.2.3.4 -a
You can also remove a value from a list:
$ roadtrip --type A --zone example.com --name mycluster.example.com --value 1.2.3.4 --delete
You can also get help:
$ roadtrip -h
You can set a non-default TTL value with --ttl and enable verbose output with --verbose.
Roadtrip will use the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables if they are set. You can provide these values yourself or override the environment variables by providing --access-key and --secret-key.
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.
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
Built Distribution
Hashes for roadtrip-0.2.0-cp27-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eccfc27f76c4bc42112000f23fcc1d8a1334a1fd18e855ec91429693cf67f356 |
|
MD5 | 4303d17ebb6d65f23964be52925f53f6 |
|
BLAKE2b-256 | 7fbadfef3daae7c33726e912643b48ab5642e79a0e621bedb2e678a60c41a39f |