terramate icon indicating copy to clipboard operation
terramate copied to clipboard

[FEATURE] Add support for folder in generate_hcl block

Open smalot opened this issue 2 years ago • 1 comments

Hi,

When dealing with multiple generated files from different modules, it could interesting to isolate generated files into some folders instead of simply use a "_" to order files.

Currently, the char "/" is not allowed in the file name making it impossible.

Many thanks

smalot avatar Jul 29 '22 14:07 smalot

Hi @smalot,

The current limitation is by design, so indeed you can't use folders when generating code on Terramate today. We already had a few discussions on how code generation could behave for folders but we have no ETA on when that is going to happen as we are currently working on other features.

katcipis avatar Aug 12 '22 17:08 katcipis

@smalot the release v0.1.36 should address your issue. Let me know if it works for you.

katcipis avatar Oct 11 '22 18:10 katcipis