Steve Pulec
7737832bf3
Fix bug adding None TTL to route53 responses.
2018-03-29 10:08:39 -04:00
Giorgos-Christos Dimitriou
f18259d49e
Change REPONSE to RESPONSE for consistency ( #1538 )
2018-03-26 12:26:24 -07: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
Abhinav I
06d65fd3da
Added test cases that covers route53 client's <change_resource_record_sets> function. Also added validation to throw a ClientError when the record set does not match the hosted zone's config
2017-04-28 21:26:32 +05:30
Steve Pulec
a6e762340d
Merge pull request #867 from 2rs2ts/flexible-route53-hostedzoneid-lookup
...
Be flexible with Route53 Hosted Zone IDs with /hostedzone/ prefix
2017-03-16 22:55:13 -04: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
Andrew Garrett
b9ea947aa0
Add ListHostedZonesByName
2017-03-13 15:27:45 +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
Steve Pulec
81836b6981
Get standalone server mode working for all tests.
2017-02-23 19:43:48 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Akhter Ali
2bf85fe25d
Fix Route53 response and tests ( #804 )
...
* Fix route53 response \n Fix route53 tests
* Fixing index
* fix zone ID on test_route53_with_update
2017-01-18 21:40:04 -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
Steve Pulec
ecbb714757
Merge pull request #584 from minyoung/upsert-route53
...
Adding support for UPSERT'ing route53 records
2016-04-23 19:43:52 -04:00
Louis Garman
09df782447
Add trailing slash to route53 rrset url path
2016-04-18 17:12:54 +01: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
84753aeac5
fix name method in the last commit
2016-02-17 17:44:20 +01:00
beeva-antonioirizar
b91596db32
add responses for methods don't have implemented in route53
2016-02-17 17:36:55 +01: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
beeva-antonioirizar
1448cf3541
add Istruncated to False in template list_hosted_zones_response in route53. Because it always has it.
2016-02-17 15:14:59 +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 c7090a2b54
.
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
Marco Rucci
6e97bec006
Add support for alias records in Route53.
2015-06-28 17:27:24 +02:00
Steve Pulec
62f82cea03
Python3 fix.
2015-06-05 21:37:47 -04:00
Steve Pulec
57f1199b35
Fix route53 multiple values bug. Closes #358 .
2015-06-05 21:29:20 -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
e05fc76e28
Merge pull request #256 from mrucci/route53-response-insync
...
Report route53 changes immediately as INSYNC.
2014-11-10 19:25:41 -05:00
Marco Rucci
0408511533
Report route53 changes immediately as INSYNC.
...
This avoids leaving changes in a perennial PENDING limbo.
2014-11-07 21:56:36 +01:00
Marco Rucci
99afd892a9
Add missing Id field in route 53 change response.
2014-11-07 21:40:00 +01:00
Steve Pulec
79e31e7287
Fix route53 hosted zone id parsing.
...
The zone id previously contained hostedzone/<zone_id>
2014-09-08 22:00:55 -04:00
Steve Pulec
22d9141122
Cleanup route53 local variable names.
2014-08-29 21:14:24 -04:00
David Baumgold
eedb4c4b73
Support Python 3 using six
2014-08-28 10:57:43 -04:00