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

70 Commits

Author SHA1 Message Date
cclauss
c8b261a409 Unroll the list comprehensions 2019-07-13 23:49:09 +02:00
cclauss
158add8eb6 Modernize Python 2 code to prepare for Python 3 2019-07-12 02:11:43 +02:00
Theo Julienne
1c08a4d58e Adjust Route53 change ordering to strictly order by dependency. 2019-05-28 14:03:33 +10: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
add8cf25d4 Bunch of comments on Route53Provider from the PR review 2019-04-04 09:17:28 -07:00
Ross McFarland
cc9a1648d2 Pull dup'd parsing logic into a helper func, doc a singular case 2019-04-03 19:25:24 -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
4db9d5cbf4 Remove TODO about value types, doesn't apply for now at least 2019-04-03 13:13:13 -07:00
Ross McFarland
34744b7b34 Normalize ip addresses for comparing health checks since Route53 does 2019-04-03 13:10:19 -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
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
Ross McFarland
303d0532c8 Implement SUPPORTS_DYNAMIC functionality, no providers 2018-12-03 14:40:43 -08:00
Bart S
95ae90b587 Removed trailing whitespace 2018-11-21 10:11:45 +01:00
Bart S
64a453632f Moved session_token to the end of the argument list 2018-11-21 10:09:23 +01:00
Ross McFarland
7d8f04a746 Linting fix 2018-11-15 09:03:36 -08:00
Bart S
7628f819b8 Added note saying session_token is optional 2018-11-15 11:20:42 +01:00
Bart S
c19fce46c0 Attempted lint fixes 2018-11-12 16:28:51 +01:00
Bart S
dfdf81cda4 Added option to set the AWS session token to the Route53Provider 2018-11-12 16:14:31 +01:00
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