aws / codecatalyst-blueprints

Apache License 2.0
48 stars 18 forks source link

feat(repository): support object based copy substitutions #578

Closed michaellandi closed 1 week ago

michaellandi commented 2 weeks ago

Issue

N/A

Description

Currently, copyStaticFiles only supports key/string value pairs. This limits substitution options (for example arrays). This PR adds the ability to use any object for substitution enabling nesting, arrays, etc.

Testing

New unit test was added to ensure that mustache supports array types.

Additional context

N/A


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.