gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
183 stars 16 forks source link

Add support for dynamic template and output folder paths in dependencies #33

Closed brikis98 closed 7 years ago

brikis98 commented 7 years ago

This PR updates boilerplate so that you can now use interpolations in the template-folder and output-folder parameters of dependencies. This way allows us to use dynamic paths. For example, instead of hard-coding the output-folder to us-west-2/foo/bar, we can set it to {{ .AwsRegion }}/foo/bar.

brikis98 commented 7 years ago

Merging now so I can try it out with the reference architecture I'm trying to build.