I'm trying to parse a cloudformation template into a troposphere template using the TemplateGenerator class.
This works good for most parts, but I've ran into an issue where TemplateGenerator would wrap calls to Fn::Split inside a list, making the result invalid (as it becomes a list of lists when deployed by cloudformation).
I'm trying to parse a cloudformation template into a troposphere template using the TemplateGenerator class.
This works good for most parts, but I've ran into an issue where TemplateGenerator would wrap calls to
Fn::Split
inside a list, making the result invalid (as it becomes a list of lists when deployed by cloudformation).Small snippet to reproduce this issue:
I'm getting this running:
Is there any way around this?