Given an AWS template that contains calls to instrinsic functions, and potential references parameters, is there a CLI tool that allows to pass values for the parameters, and generate the corresponding Template file ?
Eg, from
{
"Resource" : { "Fn::Join" : [ "", [ "xxx-" , { "Ref": "SomeParam" }, "-zzz" ] ] }
}
Supplying that SomeParam
has value bar
, you should get a readable text file with :
{
"Resource" : "xxx-bar-yyy"
}
I looked at the various aws cloudformation
subcommands (I had hopes for verify-template
, but to no avail...
(Rationale : creating / updating stack takes ages, and I don't have the brainpower to get a cloudformation file right the first time. Or the first n
times, for that matter, for a shamefully too high value of n
.)