Closed gmaghera closed 2 weeks ago
After learning about using //
in local paths supplied for template directory, from @denis256 via https://github.com/gruntwork-io/terragrunt/issues/3511#issuecomment-2433224791 -- I tried the same with a template that includes a dependency. And it worked!
Here is the command that worked, for others who may run into this:
boilerplate \
--template-url ~/Workspaces/boilerplate-template// \
--output-folder /tmp/tofu-module-full \
--non-interactive
Note the //
in ~/Workspaces/boilerplate-template//
.
Describe the bug
Inability to use a boilerplate dependency with
terragrunt scaffold
Steps To Reproduce
Create a boilerplate template which includes a dependency.
For example:
And then create a
base
directory at the same level, and populate it with a validboilerplate.yml
file and a_base.hcl
file with some random text.From another directory, test it out with
boilerplate
:And now try to use that same boilerplate (including a dependency) from
terragrunt scaffold
:Expected behavior
Ability to use boilerplate dependencies, ideally. If not possible, it would be nice to state this in the docs.
Nice to haves
Versions
Additional context
Add any other context about the problem here.