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
158 stars 12 forks source link

Add toYaml helper function #68

Closed bwhaley closed 3 years ago

bwhaley commented 3 years ago

Create a new helper function toYaml that will encode an input variable as YAML. This will be helpful to separate some configuration data out of HCL and in to YAML files. For example, a map of IAM users could be written as YAML in a users.yml file and included in a terragrunt.hcl with yamldecode(file(users.yml)).

bwhaley commented 3 years ago

Good call, I forgot about that. Added to the README.

bwhaley commented 3 years ago

I think I fixed the deploy step here, we're about to find out. Thanks for the quick review & approval.