Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

(ValidationError) when calling the CreateStack operation: Template format error: Every Description member must be a string

The following image is my question. SO would not allow me to post because of some error about formatting code incorrectly that I couldn't figure out how to resolve after an hour of trying.

Image of my question

like image 426
jcgrowley Avatar asked Sep 24 '16 16:09

jcgrowley


1 Answers

I've been bitten by this too. It boils down to limitations on CloudFormation's intrinsic functions (source):

Note
You can use intrinsic functions only in specific parts of a template. Currently, you can use intrinsic functions in resource properties, metadata attributes, and update policy attributes.

In this case, "resource properties" only applies to the contents of the Properties field. I would expect this to change, since I suspect Amazon has gotten many complaints about this! I'll happily update the answer when that happens.

like image 85
ajk Avatar answered Oct 25 '22 19:10

ajk