DEV Community

loading...

Discussion on: Emulating Fn::StartsWith in CloudFormation

Collapse
nimbusscale profile image
Joe

I tried the above, but found there was an issue with the !Equals clause as one of the closing brackets was in the wrong spot. I was able to get it to work as the following:

!Equals [!Select [ 0, !Split [ PREFIX, VALUE ]], ""]

Collapse
bjorg profile image
Steve Bjorg Author

Thanks for letting me know. I corrected the article.