Update cloudformation for new list types.

This commit is contained in:
Steve Pulec 2017-03-15 23:02:10 -04:00
parent 3899eee648
commit e25d1499c2

View File

@ -345,7 +345,8 @@ class ResourceMap(collections.Mapping):
# Set any input parameters that were passed
for key, value in self.input_parameters.items():
if key in self.resolved_parameters:
if parameter_slots[key].get('Type', 'String') == 'CommaDelimitedList':
value_type = parameter_slots[key].get('Type', 'String')
if value_type == 'CommaDelimitedList' or value_type.startswith("List"):
value = value.split(',')
self.resolved_parameters[key] = value