diff --git a/moto/ec2/responses/launch_templates.py b/moto/ec2/responses/launch_templates.py index d1bfaa6d4..14337d17f 100644 --- a/moto/ec2/responses/launch_templates.py +++ b/moto/ec2/responses/launch_templates.py @@ -32,7 +32,7 @@ def xml_serialize(tree, key, value): else: node = tree - if isinstance(value, (str, int, float)): + if isinstance(value, (str, int, float, six.text_type)): node.text = str(value) elif isinstance(value, bool): node.text = str(value).lower()