1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
Adam Smith
16eda53eb3 add note about fallback authentication for route53 provider 2018-06-13 21:24:29 -07:00
Adam Smith
446e8485b3 if user does not explicitly set Access Key ID and Secret Access Key then use
boto3's methods as fallback
2018-06-13 21:18:21 -07:00
Ross McFarland
cee7677ae4 Implement Zone.add_record lenient across our providers 2018-05-30 12:41:59 -07:00
Ross McFarland
3ea78af8e1 pycodestyle updates, mostly escaping \, couple r's, ignore break on binary 2018-04-15 09:58:36 -07:00
Ross McFarland
19956f14bc Include fqdn in Route53 health check refs, not name
This will ensure unique refs for different zones. Without them the ref isn't
enough to make sure we're looking at the right thing (notably when we're
gc'ing old health checks.) This also adds a bit more debugging around health
checks.
2018-04-04 17:38:00 -07:00
Ross McFarland
8330a3a16c Update a now stale comment on Route53 provider about healthchecks 2018-04-02 08:20:07 -07:00
Ross McFarland
b51a9148b8 Route53 support for healthcheck protocol & port 2018-03-31 14:47:22 -07:00
Ross McFarland
5372e86e1c Switch to named params in _extra_changes 2018-03-31 12:39:32 -07:00
Dirkjan Bussink
a7f6da96d3 Merge branch 'master' into configurable-geo-healthcheck 2018-03-22 08:51:51 +01:00
Ross McFarland
9021adced9 Merge branch 'master' into check-route53-against-all-supported-types 2018-03-04 06:38:00 -08:00
Michael McAllister
8c1fe707e8 ISSUE #26 Skip Alias recordset for Route53 Provider 2018-03-04 18:02:51 +11:00
Michael Vermaes
80adb22a4b Check Route 53 records against all supported types 2018-03-04 14:18:21 +08:00
Ross McFarland
7228c5b294 Merge remote-tracking branch 'origin/master' into show-zone-create 2018-03-03 10:18:32 -08:00
Josh Soref
5d2ba2e715 Spelling (#214)
* spelling: ancillary
* spelling: antarctica
* spelling: australia
* spelling: authentication
* spelling: continental
* spelling: constructor
* spelling: conversion
* spelling: creation
* spelling: doesn't
* spelling: easily
* spelling: efficiently
* spelling: equivalent
* spelling: essentially
* spelling: everything
* spelling: exactly
* spelling: be
* spelling: expensive
* spelling: supports
* spelling: healthcheck
* spelling: immediately
* spelling: ignored
* spelling: invocation
* spelling: itself
* spelling: leftovers
* spelling: missing
* spelling: natural
* spelling: nonexistent
* spelling: peculiarities
* spelling: pointing

This change hit a line length limitation, so I'm wrapping it and
adding a period which appears to match local style...

* spelling: quicker
* spelling: response
* spelling: requested
* spelling: redirect
* spelling: traffic
* spelling: unknown
* spelling: uploaded
* spelling: useful
* spelling: separately
* spelling: zone
2018-02-27 09:09:47 -08:00
Ross McFarland
73c002f94c Implement populate exists for Route53Provider 2018-01-21 14:26:51 -08:00
Ross McFarland
429b447238 Route53's NAPTR values should default to '' not None 2017-12-27 10:20:01 -08:00
Ross McFarland
9a30b058e2 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-10-18 10:57:32 -07:00
Ross McFarland
70120bedc8 Implement "chunked" TXT/SPF value support for long values
This implements it transparently at Record level. Providers that need things to
be chunked (seems to just be Route53 an Dyn) switch to use `chunked_values`, but
everything else can stick with `values`. I've run through each provider I have
access to verifying that things operate as expected/required. OVH and Azure are
untested.
2017-10-05 10:04:29 -07:00
Ross McFarland
1e68cd6ae9 Add CAA support to Dyn, PowerDNS, and Route53 2017-08-26 09:03:59 -07:00
Ross McFarland
268620c939 Add support for increasing Route53 retries 2017-08-12 12:54:53 -07:00
anthonyvia
b0de5de445 Supply 'Marker' to Route53 client when paging in order to correctly retrieve the next page of results. 2017-06-29 09:55:52 -07:00
Ross McFarland
1340aee8a9 MX RFC1035 - priority -> preference & value -> exchange 2017-06-23 13:04:38 -07:00
Ross McFarland
a97818b6ec populating existing provider state is lenient
- adds lenient flag to Record.new, problems during validation are just
  warnings if it's true
- target populate calls during the plan phase pass lenient=True
- make all of the provider.populate call logging consistent including both
  target and lenient
- add source=self to Record.new in a few places that were missing it
2017-06-23 09:01:25 -07:00
Ross McFarland
852c101388 Switch to an explicit SUPPORTS setup 2017-06-21 17:08:16 -07:00
Ross McFarland
02d80c2e84 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-06-21 15:31:25 -07:00
Ross McFarland
acd245ed41 Merge branch 'master' into route53-refactor 2017-06-21 14:46:26 -07:00
Ross McFarland
b6cd08e659 Update DSFMonitor labels to include type
Would have prevented both A and AAAA exisiting on the same node.
2017-06-21 14:34:21 -07:00
Ross McFarland
72eff706da Dyn support for configrable healthchecks and _extra_changes support
More thorough unit tests while I'm in here. Ended up doing some hacks/monkey
patching of DSFMonitor as the client library's object doesn't seem to be fully
functional/useful and has inconsitent behavior.
2017-06-21 12:40:31 -07:00
Ross McFarland
9506c682cc Go head and support cleaning up v0000 Route53 health check versions 2017-06-20 11:46:17 -07:00
Ross McFarland
d0b8b25cdd Existing and desired to _extra_changes, desired used by Route53 to get configed
Fixes an issue where we'd be looking for custom healthcheck config on the
existing record object (from the provider) which would never have a custom
setup. Instead looking at desired lets us find what's actually configured to be
the case
2017-06-20 11:44:13 -07:00
Ross McFarland
ce0b58d57e Quick-fix disable ALIAS for Route53 & Cloudflare
Cloudflare could potentially support it, but their details are different enough
that i'll need to be looked into specifically later.
2017-06-20 08:39:59 -07:00
Ross McFarland
97e5b89925 Merge remote-tracking branch 'origin/master' into route53-refactor 2017-06-20 08:18:36 -07:00
Ross McFarland
4761da9c33 Add custom host & path support to Route53 Geo healthchecks
- This reworks the CallerReference structure for Route53 health checks in a
  non-backwards compatible way. This means records will create new healthchecks
  for themselves which should be fine.
- Since we're pre 1.0, support has NOT been added to cleanup the old
  healthchecks. That could be done reasonably easy, BUT we'd have to keep that
  around forever. The hope is that the new ref format/usage will prevent this
  problem going forward since enough info exists in the ref to identify things
  fully. :fingers_crossed:
- healthcheck GC is much cleaner and more robust thanks to ^
- overall the healthcheck management code is a bit easier to follow and more
  robust now.
2017-06-15 09:57:40 -07:00
Ross McFarland
dd0042c6ff Escape unescaped semicolons coming out of Route53 2017-06-08 17:55:19 -07:00
Ross McFarland
a9c6d8c6ba Rework _Route53Record to avoid a bunch of hacks
They were working around the lack of class hierarchy, this addresses that by
adding 2 child classes. It gets rid of a bunch of ugly default params and
if-this junk in the main class that was trying to deal with plain & geo records.
Also as a positive side effect it gets rid of some hacks that lived in
Route53Provider dealing with the fact that the old setup couldn't detect going
to/from a GeoDNS record correctly.
2017-05-29 08:26:38 -07:00
Ross McFarland
852381b810 Add test for Route53Provider geo -> plain conversion 2017-05-09 14:45:35 -07:00
Ross McFarland
ee6a654054 HealthCheckId is required for geo records now 2017-05-09 14:22:39 -07:00
Ross McFarland
e7fffb0ca1 Route53Provider correctly handle converting to and from geo records 2017-05-09 14:20:44 -07:00
Ross McFarland
da4632fb7c docstrings for each provider showing config 2017-03-17 10:03:27 -07:00
Ross McFarland
7957a4c018 Initial import of OSS OctoDNS 2017-03-15 15:38:10 -07:00