gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
Mozilla Public License 2.0
157 stars 12 forks source link

Support lists of strings in for_each_reference #146

Closed brikis98 closed 6 months ago

brikis98 commented 6 months ago

Description

This is a small work around to allow using lists of strings (rather than lists of interface{}) with for_each_reference. This makes it possible to do transformations on values (e.g., extract keys from a map into a list) and pass the output of the transformation into for_each_reference.

TODOs

Read the Gruntwork contribution guidelines.

Release Notes (draft)

Added / Removed / Updated [X].

Migration Guide

brikis98 commented 6 months ago

Thanks for the review! Merging now.