aws-cloudformation / aws-cloudformation-macros

This repository hosts examples of AWS CloudFormation macros.
Apache License 2.0
83 stars 49 forks source link

'Fn::Transform' should only be an object #9

Closed jpbarto closed 3 years ago

jpbarto commented 3 years ago

Removed the definition of Fn::Transform as a list of object to only be an object, inline with the documentation.

Issue #, if available:

Description of changes: Without this change, when passed to aws cloudformation package the template will cause the CLI to error out as it will try to invoke a get function on a list object which it assumes is a dict.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.