diff --git a/cloud/amazon/route53.py b/cloud/amazon/route53.py index 9b867fb1e72..443b71be921 100644 --- a/cloud/amazon/route53.py +++ b/cloud/amazon/route53.py @@ -389,7 +389,7 @@ def main(): decoded_name = rset.name.replace(r'\052', '*') decoded_name = decoded_name.replace(r'\100', '@') - if rset.type == type_in and decoded_name.lower() == record_in.lower() and rset.identifier == identifier_in: + if rset.type == type_in and decoded_name.lower() == record_in.lower() and rset.identifier == str(identifier_in): found_record = True record['zone'] = zone_in record['type'] = rset.type