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

59 Commits

Author SHA1 Message Date
Ross McFarland
c5a19b4403 Merge remote-tracking branch 'origin/master' into add-route53-interval-option 2020-07-01 07:58:22 -07:00
Ross McFarland
b9575ae484 TCP healthcheck support for Route53 2020-05-08 08:13:27 -07:00
Ross McFarland
413ddef2a6 Yet another round of Route53 retry internals changing 2020-02-18 15:26:10 -08:00
Ross McFarland
72e60f0b3f Merge branch 'master' into aws-support-delegationsetid 2020-01-15 17:00:43 -08:00
Ross McFarland
60ec6e9a28 Update Route53 test that pokes at boto internals 2020-01-11 10:16:31 -08:00
Joshua Hügli
b57f2a64ad create/copy test with delegation set support 2019-12-20 17:19:40 +01:00
Ross McFarland
7958233fcc Consistently order changes :-/
Many providers make their modifications in the order that changes comes. In
python3 this causes things to be inconsistently ordered. That mostly works, but
could result in hidenbugs (e.g. Route53Provider's batching could be completely
different based on the order it sees changes.) Sorting changes consistently
is a good thing and it shouldn't hurt situations where providers are already
doing their own ordering. All-in-all more consistent is better and we have to be
explicit with python 3.
2019-10-07 09:17:48 -07:00
Ross McFarland
aeb70b2488 Route53Provider python 3, rm incf.countryutils, lots of cmp removal and ordering fixes 2019-10-05 20:01:53 -07:00
Ross McFarland
f252aa3b98 Merge remote-tracking branch 'origin/master' into python3-start 2019-10-05 07:20:47 -07:00
William Blackie
dd4238ad6b fix split calls in Route53Provider to not specify ' ' parameter so they can tolerate multiple sequential separators 2019-08-19 17:06:23 +10:00
Ross McFarland
a9d0eef3ba Lots of text_type 2019-07-29 08:37:47 -07:00
Theo Julienne
1c08a4d58e Adjust Route53 change ordering to strictly order by dependency. 2019-05-28 14:03:33 +10:00
Ross McFarland
ee0416de9a Cover more Route53 extra check edge cases and ensure it tests what we're after 2019-05-14 20:32:36 -07:00
Ross McFarland
d49bf26220 Handle Route53 extra check much more thoroughly by breaking down name
Also adds thorough tests
2019-05-14 20:25:14 -07:00
Ross McFarland
1c60ed018b Make sure both set-id and name match when finding rrset 2019-04-29 09:49:40 -07:00
Ross McFarland
e4fbcf1090 Improved Route53Provider deltion for Dynamic Value too 2019-04-29 09:02:45 -07:00
Ross McFarland
2df87d7dfe Improve Route53 DELETE reliability using existing rrset 2019-04-29 08:52:56 -07:00
Ross McFarland
dbc032a2cc Switch to using tuples for _mod_keyer 2019-04-03 18:58:46 -07:00
Ross McFarland
92179a231e Rework and clean up Route53Provider's extra_changes check to support dynamic 2019-04-03 14:13:23 -07:00
Ross McFarland
af06dbec09 Route53Provider for CNAME style healthchecks
Note that you can't specify a Host header for these which I believe will
complicate the ability to use this. Figuring that out will have to wait
until I or someone else has a use case for these...
2019-04-03 10:29:52 -07:00
Ross McFarland
7b59eedc44 Route53Provider dynamic support 2019-04-01 14:17:59 -07:00
Ross McFarland
0a6b2e2e3b Implement Route53Provider mod ordering via a sort
This will ensure that deletes come before creates which are before upserts and
that records that uses aliases always come after their target (though implicitly
based on sorting types and not explicitly by looking at them.)
2019-04-01 10:09:43 -07:00
Ross McFarland
ed152ce0f3 Plumb hosted_zone_id through to _Route53Record 2019-04-01 09:33:56 -07:00
Ross McFarland
f83eeb0a9c Add a Name tag to Route53 healthchecks for UI purposes 2019-04-01 09:13:57 -07:00
Ross McFarland
b8be28c1dc Rework get_health_check_id, just take value to check 2019-04-01 07:40:23 -07:00
Ross McFarland
d610a0c920 Implement _Route53Record._value_convert_* 2019-04-01 07:25:52 -07:00
Jörg Runkel
00ee5053c7 Use specific Route53Provider Exception 2019-03-22 17:30:49 +01:00
Jörg Runkel
07b7f1e8ef Throw exception on invalid route53 interval option value 2019-03-04 17:10:29 +01:00
Jörg Runkel
72a389e835 Add healthcheck option 'request_interval' for Route53 provider
Route53 allows to specify an interval for its health checks.
To maintain backward compatibility, the default for this option
when ommited is 10 (fast check).
2019-03-04 14:48:18 +01:00
Jörg Runkel
c1911c10a3 Some syntax and style improvements 2019-02-13 17:45:23 +01:00
Jörg Runkel
54787529d5 Move measure_latency option to Route53 provider 2019-02-13 10:50:48 +01:00
Jörg Runkel
1794f5ccd6 Add healthcheck option 'measure_latency' for Route53 provider
Route53 allows to monitor latency information on the dashboard
and using CloudWatch. While that is a nice to have function,
it is not necessary for a DNS failover scenario and increases
Route 53 costs.
To maintain backward compatibility, the default for this option
when ommited is true.
2019-02-11 21:25:06 +01: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
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
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
Michael McAllister
8c1fe707e8 ISSUE #26 Skip Alias recordset for Route53 Provider 2018-03-04 18:02:51 +11: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
9a30b058e2 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-10-18 10:57:32 -07:00
Ross McFarland
c24c793bcb CAA unit tests for provider support 2017-08-26 15:28:09 -07:00
Ross McFarland
268620c939 Add support for increasing Route53 retries 2017-08-12 12:54:53 -07:00
Ross McFarland
908698da49 Fix major performance issue with add_record O(N^2)
Before, 1-2k record took ~10s and more than that was just painful, 5k took
forever. This records things to keep a dict of nodes with a set of records so
that we can quickly "jump" to the point we're looking for without having to
search. 10k records now takes ~5s.
2017-07-02 18:23:45 -07:00
Ross McFarland
1340aee8a9 MX RFC1035 - priority -> preference & value -> exchange 2017-06-23 13:04:38 -07:00
Ross McFarland
d2af8efe5c Root CNAMEs are not allowed 2017-06-23 09:49:11 -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
02d80c2e84 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-06-21 15:31:25 -07:00
Ross McFarland
9506c682cc Go head and support cleaning up v0000 Route53 health check versions 2017-06-20 11:46:17 -07:00