From 5d1a3ee0ac2e1178c7debf337fdfae697f81b9a4 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 f89fca448b7..d160e517fd5 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')