!Sub created by clean doesn't escape literal ${VAR}
azatoth opened this issue · 1 comments
azatoth commented
For example in a UserData for a EC2, you might have a bash script and thus can have items like ${VAR}
literally in the text. These should be escaped to ${!VAR}
per http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-sub.html#w2ab2c21c28c56b7