diff --git a/cloud/amazon/route53.py b/cloud/amazon/route53.py index 67700060d9f..d25be6b99ea 100644 --- a/cloud/amazon/route53.py +++ b/cloud/amazon/route53.py @@ -224,7 +224,7 @@ def main(): if type(value_in) is str: if value_in: - value_list = sorted(value_in.split(',')) + value_list = sorted([s.strip() for s in value_in.split(',')]) elif type(value_in) is list: value_list = sorted(value_in)