Steve Pulec
7737832bf3
Fix bug adding None TTL to route53 responses.
2018-03-29 10:08:39 -04:00
Andrey Melentyev
4e390530a7
Do not treat StartRecordName and StartRecordType in the list_resource_record_sets as filters
...
According to AWS API reference and Boto documentation they are to begin the record listing from,
not for filtering. So their current behavior in moto is not consistent with AWS.
2017-10-23 21:58:39 +02:00
Terry Cain
ae6f9dcb71
Fixes #1282
2017-10-21 22:10:45 +01:00
Terry Cain
17d9701d19
Updated R53 ID's to match what AWS do now
2017-09-22 23:50:01 +01:00
Andrew Garrett
f2b7ba03b4
Forgot that lstrip works on character sets, not substrings
...
I suppose this is one way to do it. I could have also split and taken
the last element. Not sure which is best. 🤔
2017-03-17 02:45:58 +00:00
Andrew Garrett
6346e44c9d
Be flexible with Route53 Hosted Zone IDs with /hostedzone/ prefix
...
We will continue to store just the unique ID, but since the AWS API
returns /hostedzone/<id>, we should accept attempts to pass that back.
For example, both just the ID as well as /hostedzone/<id> work for
specifying the HostedZoneId of a ResourceRecordSet in CloudFormation. So
we should support that too.
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2017-03-14 19:52:36 +00:00
Steve Pulec
6d422d1f37
Add BaseModel to all models.
2017-03-11 23:41:12 -05:00
Steve Pulec
3b4ef2cf15
Merge in master.
2017-03-05 09:58:39 -05:00
David Wilcox
8d737eb59d
Route53: allow hosted zone id as well when creating record sets ( #833 )
...
* add test that creates r53 record set from hosted zone id (not name)
* pass test to enable creating record sets by hosted zone ids
2017-03-04 22:31:45 -05:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Alfred Moreno
6560063ceb
Fix tagging code. Unit tests were passing but the underlying implementation wasn't producing the expected result
2016-09-22 18:38:47 -07:00
Alfred Moreno
9a7556b3af
Add support and unittests for Route53 tags
2016-09-20 17:41:23 -07:00
hummus
8fa53c1453
support route53 HostedZone PrivateZone=True #627
2016-06-03 11:10:04 -04:00
Steve Pulec
7dcfa85fb8
Add physical_resource_id to Route53.RecordSet. Closes #595 .
2016-04-28 09:42:10 -04:00
Steve Pulec
a600deb96a
Fix merge conflicts and add EC2 Instance delete. Closes #576 .
2016-04-28 09:22:31 -04:00
Min-Young Wu
826ba82f6e
Adding support for UPSERT'ing route53 records
2016-04-12 10:51:21 -07:00
Andrew Garrett
2c72a86778
Support HostedZoneId in RecordSet templates
...
Signed-off-by: Jesse Szwedko <jesse.szwedko@getbraintree.com>
2016-03-07 19:25:25 +00:00
Andrew Garrett
7779678e2c
Allow cloudformation to delete Route 53 RecordSets
...
While there isn't an API method exposed for directly deleting a Route 53
RecordSet (it's performed via POST that acts more like a PATCH than
anything
else)[http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html ],
CloudFormation can have templates which contain RecordSets which refer
to zones that don't exist inside the template. Ergo, we need a way to
effect a delete upon these RecordSets when we don't have a direct
reference to the zone.
This exposes a delete method that isn't hooked up to any response (and
rightfully so), it just enables the ~polymorphic deletion behavior that
we've written into the CloudFormation implementation.
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-03-03 17:53:05 +00:00
beeva-antonioirizar
a621c83bf7
Comment's params is optional in create_hosted_zones. It is fix to support and templates adapted to it.
2016-02-17 15:32:38 +01:00
beeva-antonioirizar
1ac40cbaf6
add private zone in templates. Because it should have. It is always to False because it doesn't support for private zones.
2016-02-17 15:24:11 +01:00
Jesse Szwedko
14ec3531ff
Add support for latency based route53 records
...
Store and marshal the region field of records
Signed-off-by: Kevin Donnelly <kevin.donnelly@getbraintree.com>
2015-09-08 21:36:32 +00:00
Steve Pulec
a63d748617
Revert "Move RRSet parsing inside models so that cloudformation works better."
...
This reverts commit c7090a2b5404d5a2003419de4d97f4439cd83ff6.
2015-07-14 23:39:06 -04:00
Steve Pulec
c7090a2b54
Move RRSet parsing inside models so that cloudformation works better.
2015-07-14 23:26:49 -04:00
Steve Pulec
d1c823e0d8
Fix for deleting Route53 record sets with set identifiers. Closes #342 .
2015-04-30 18:51:01 -04:00
Philip Corliss
b27f3c3d9f
Adding support for comments on hosted zones.
...
Paired with @kpdonn
2015-04-23 19:01:20 +00:00
Steve Pulec
585ef7b768
Add route53 health checks.
2015-01-17 19:06:43 -05:00
Steve Pulec
adb26986eb
Add route53 ResourceSet to Cloudformation.
2015-01-17 15:37:46 -05:00
Steve Pulec
42cd333d51
Refactor Route53 record sets.
2015-01-17 14:50:19 -05:00
Steve Pulec
5d5f241b99
Add route53 support to cloudformation.
2015-01-17 10:17:25 -05:00
Steve Pulec
22d9141122
Cleanup route53 local variable names.
2014-08-29 21:14:24 -04:00
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04:00
Steve Pulec
c1f224954e
Cleanup some style
2013-12-29 08:59:07 -05:00
jjofseattle
38b26f038f
handle double deletion caused by httpretty
2013-11-20 14:45:44 -08:00
jjofseattle
2d6e649245
improve coverage
2013-11-15 16:20:25 -08:00
jjofseattle
08777e4b18
pep8
2013-11-15 15:35:46 -08:00
jjofseattle
8da1d31432
fix style issues
2013-11-15 15:29:01 -08:00
jjofseattle
a11c80fe20
add route53
2013-11-14 11:14:14 -08:00