Merge pull request #1960 from tatsuyafw/add-trailing-dot-to-resource-record
Add a trailing dot to the Name of Route53 ResourceRecordSet
This commit is contained in:
commit
860dfbbe11
2 changed files with 15 additions and 12 deletions
|
|
@ -123,6 +123,9 @@ class Route53(BaseResponse):
|
|||
""" % (record_set['Name'], the_zone.name)
|
||||
return 400, headers, error_msg
|
||||
|
||||
if not record_set['Name'].endswith('.'):
|
||||
record_set['Name'] += '.'
|
||||
|
||||
if action in ('CREATE', 'UPSERT'):
|
||||
if 'ResourceRecords' in record_set:
|
||||
resource_records = list(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue