bazaarvoice / cloudformation-ruby-dsl

Ruby DSL for creating Cloudformation templates
Apache License 2.0
210 stars 76 forks source link

Incorrect handling of nested intrinsic functions in join() #131

Open zhelyan opened 6 years ago

zhelyan commented 6 years ago

e.g.

join("-", split("_", ref('Label')))

yields

An error occurred (ValidationError) when calling the CreateStack operation: 
Template error: every Fn::Join object requires two parameters, (1) a string delimiter 
and (2) a list of strings to be joined or a function that returns a list of strings 
(such as Fn::GetAZs) to be joined.