route53 alias records

Hi,

When I add an ALIAS record in route53 through the ansible module a . is appended to the end of the value which is wrong.

For example:

mydomain.com. A ALIAS dualstack.mydomain.com.

The dot at the end of ‘dualstack.mydomain.com’ should not be there, if it is there the record will not resolve.
I’ve verified in debug mode that the value I’m passing in does not contain the dot.

Regards,
Nico.

My apologies, further investigation shows that AWS is actually broken.

For those interested: https://forums.aws.amazon.com/thread.jspa?messageID=610954

In a nutshell, the ‘dualstack’ versions currently seem to have region specific hardcoded zone id’s that you can’t obtain through the API.