ansible/ansible — pull request #8529 by PhillipHolmes (2014-08-08 21:07:42+00:00)
Title: Route53 forcing zone_in, record_in to lower case

It turns out the Route53 module cares if the zone and record specified in the playbook are lower case or not when deleting a record. If you use a variable to name your servers and care about case, using that same proper case name will cause Route53 DNS delete requests to fail.

The change requested adds .lower() to the module.params.get for both zone and record.

If you use lowercase names (or don't use a name variable and share it between a tag and DNS entries) then you will never see this issue.

Tested/Confirmed with create/delete in Ansible 1.6.6