The shared CloudFormation schema in lib/utils/serverless-utils/cloudformation-schema.js registers seventeen short-form tags, matching upstream. AWS documents two more: !Transform and the newer !GetStackOutput. Both currently fail YAML parsing with an unknown tag error, whether they appear in a resources block of serverless.yml, in a file loaded through the file variable source, or in an existing stack's original template on the deployment bucket repair path reported in #443. Fn::Length, Fn::ToJsonString, Fn::ForEach and the Rules functions have no documented short forms, so only these two are missing. Adding them to the function list is enough, since the existing type factory maps a name to its Fn:: key, and the utils README divergence note should record the addition so it survives a re-sync. Applies to 3.x and 4.x.
The shared CloudFormation schema in
lib/utils/serverless-utils/cloudformation-schema.jsregisters seventeen short-form tags, matching upstream. AWS documents two more:!Transformand the newer!GetStackOutput. Both currently fail YAML parsing with an unknown tag error, whether they appear in aresourcesblock ofserverless.yml, in a file loaded through the file variable source, or in an existing stack's original template on the deployment bucket repair path reported in #443.Fn::Length,Fn::ToJsonString,Fn::ForEachand the Rules functions have no documented short forms, so only these two are missing. Adding them to the function list is enough, since the existing type factory maps a name to itsFn::key, and the utils README divergence note should record the addition so it survives a re-sync. Applies to 3.x and 4.x.