#terragrunt (2020-02)
Terragrunt discussions
Archive: https://archive.sweetops.com/terragrunt/
2020-02-21
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
@scorebot help keep tabs!
![scorebot avatar](https://avatars.slack-edge.com/2020-04-07/1045618563043_1549cbda12a8f150be19_72.png)
@scorebot has joined the channel
![scorebot avatar](https://avatars.slack-edge.com/2020-04-07/1045618563043_1549cbda12a8f150be19_72.png)
Thanks for adding me emojis used in this channel are now worth points.
![scorebot avatar](https://avatars.slack-edge.com/2020-04-07/1045618563043_1549cbda12a8f150be19_72.png)
Wondering what I can do? try @scorebot help
2020-02-25
![joshmyers avatar](https://avatars.slack-edge.com/2018-11-20/483958217281_8117d6f6c62807ce9912_72.jpg)
Anyone know why https://github.com/gruntwork-io/terragrunt/blob/master/configstack/stack.go#L77 is auto setting those args if using xxx-all rather than letting you set those via extra_args or whatever. They don’t get deduped and end up breaking extra_args if using plan output…
Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules. - gruntwork-io/terragrunt
![joshmyers avatar](https://avatars.slack-edge.com/2018-11-20/483958217281_8117d6f6c62807ce9912_72.jpg)
e.g. it can end up running something like terraform apply -lock-timeout=30m tfplan -input=false -auto-approve -no-color
which isn’t valid.
Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules. - gruntwork-io/terragrunt
![loren avatar](https://secure.gravatar.com/avatar/d1e25dcfbc68a0857a04dd78c9afe952.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-72.png)
blame points to this issue, with the linked pr, https://github.com/gruntwork-io/terragrunt/issues/386
As of Terraform v0.11, the default behaviour for terraform apply is to show the plan and wait for approval. When using apply-all this results in the script waiting for input for every module that y…
![joshmyers avatar](https://avatars.slack-edge.com/2018-11-20/483958217281_8117d6f6c62807ce9912_72.jpg)
Yeah, I’ve opened a PR
![joshmyers avatar](https://avatars.slack-edge.com/2018-11-20/483958217281_8117d6f6c62807ce9912_72.jpg)
that has royally fucked with my plan.
![joey avatar](https://secure.gravatar.com/avatar/9647cc34c02f9ce3bb4df4a6309335e8.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-72.png)
wow, a terragrunt room. amazing.
![Andrea avatar](https://secure.gravatar.com/avatar/acdfeac73836288ce6bc19b5b6cb051f.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0026-72.png)
I just found this room and thought the same thing!
![joey avatar](https://secure.gravatar.com/avatar/9647cc34c02f9ce3bb4df4a6309335e8.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-72.png)
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
haha welcome
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
Also, we have archives available here: http://archive.sweetops.com/terragrunt/
![joey avatar](https://secure.gravatar.com/avatar/9647cc34c02f9ce3bb4df4a6309335e8.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-72.png)
if anyone has pointers on why terragrunt would not be writing outputs when i’m using a module indirectly, that’d be totally rad. https://community.gruntwork.io/t/terragrunt-not-writing-outputs/410 .. https://community.gruntwork.io/t/examples-of-3-tier-module-structure/408 .. i’m sure i’m doing some silly bonehead mistake. whereas i need to go test my helmfile question more, this one was less clear to me.
![loren avatar](https://secure.gravatar.com/avatar/d1e25dcfbc68a0857a04dd78c9afe952.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-72.png)
it’s really just a terraform thing. you have a root module (what you are calling a “unit”) calling a another module. terraform requires that the root module must declare its own outputs. outputs from nested modules are not automatically propagated in the root module’s outputs.
![loren avatar](https://secure.gravatar.com/avatar/d1e25dcfbc68a0857a04dd78c9afe952.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-72.png)
try this in your unit to output everything from the nested vpc module… you can scope it more and create multiple outputs if you don’t need everything
output "vpc" {
value = module.vpc
}
![joey avatar](https://secure.gravatar.com/avatar/9647cc34c02f9ce3bb4df4a6309335e8.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-72.png)
ahhhh haaaa
![joey avatar](https://secure.gravatar.com/avatar/9647cc34c02f9ce3bb4df4a6309335e8.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-72.png)
ammmmazing. thank you so much.