diff --git a/library/cloud/route53 b/library/cloud/route53 index 0f511c23a79..b3878e0580e 100644 --- a/library/cloud/route53 +++ b/library/cloud/route53 @@ -241,7 +241,7 @@ def main(): record['ttl'] = rset.ttl record['value'] = ','.join(sorted(rset.resource_records)) record['values'] = sorted(rset.resource_records) - if value_list == sorted(rset.resource_records) and record['ttl'] == ttl_in and command_in == 'create': + if value_list == sorted(rset.resource_records) and int(record['ttl']) == ttl_in and command_in == 'create': module.exit_json(changed=False) if command_in == 'get':