From 2aa793ec0ecd3d9e50ead35ee34e2c343c50800c Mon Sep 17 00:00:00 2001 From: xiaclo Date: Thu, 30 Apr 2015 13:01:00 +1000 Subject: [PATCH] Fix issue #1156 Fix as suggested in the issue. https://github.com/ansible/ansible-modules-core/issues/1156 --- cloud/amazon/route53.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/route53.py b/cloud/amazon/route53.py index d6c758b3974..c9463f20729 100644 --- a/cloud/amazon/route53.py +++ b/cloud/amazon/route53.py @@ -209,7 +209,7 @@ def main(): command_in = module.params.get('command') zone_in = module.params.get('zone').lower() - ttl_in = module.params.get('ttl') + ttl_in = int(module.params.get('ttl')) record_in = module.params.get('record').lower() type_in = module.params.get('type') value_in = module.params.get('value')