Open jkodroff opened 2 years ago
FWIW - there is a make prepare
target in the bridge boilerplate - which serves largely this same purpose. Ideally we keep all our boilerplate repos aligned on things like this (either by porting that to the other repos, or by designing something new and ensuring it is pushed to all boilerplate repos).
@lukehoban Yes, that would be the end state - that all boilerplate repos have templating and use the same tooling. The TF provider boilerplate uses sed, but I think a more modern template engine would be more maintainable.
There's numerous places where we ask the user to replace
xyz
with the name of the module. It would be nicer if we could automate this for the user via a Makefile target or similar mechanism.Here's what I'm thinking for a solution:
filename.ext.tmpl
.make init
.If we like this, I'm happy to submit a PR.