Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module usage #6

Open
fellnerse opened this issue Apr 11, 2022 · 1 comment
Open

Module usage #6

fellnerse opened this issue Apr 11, 2022 · 1 comment

Comments

@fellnerse
Copy link

Hello!
Thank you for your nice tutorial and TG setup! One thing i stumbled upon:

I was not able to simply import submodules from the components folder. I had to change

source = "${local.root_deployments_dir}/../modules/stacks/${local.tier}/${local.stack}"

to:

  source = "${local.root_deployments_dir}/..//modules/stacks/${local.tier}/${local.stack}"
                                            ^
                                            |

Also I think the way terragrunt imports files changed over the time as well. I had to change the root.hcl filename to terragrunt.hcl.

TF version: Terraform v1.1.8 on darwin_arm64
and terragrunt version v0.36.6

@chekolyn
Copy link

@fellnerse thanks for the suggestion, I was scratching my head with this one. Perhaps a PR will do ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants