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

Terragrunt support #65

Open
Alexey-Tsarev opened this issue Jan 19, 2024 · 5 comments
Open

Terragrunt support #65

Alexey-Tsarev opened this issue Jan 19, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@Alexey-Tsarev
Copy link

Hi! You have an interesting util, but suddenly it does not work with Terragrunt.

I tried, but I got the following error:

terragrunt run-all plan --terragrunt-non-interactive --terragrunt-working-dir ./vpc | tf-summarize
INFO[0000] The stack at ./vpc will be processed in the following order for command plan:
Group 1
- Module .../vpc

error when parsing input: invalid character '\x1b' looking for beginning of value
@yyarmoshyk
Copy link

yyarmoshyk commented Feb 16, 2024

The following approach can be used

  1. Update global terragrunt.hcl with the following:
terraform {
  extra_arguments "auto_plan_file" {
    commands = [
      "plan",
    ]

    arguments = ["-out=tfplan.output"]
  }
}

Next run the following:

find . -name tfplan.output -exec tf-summarize {} \;

But I don't really like the output. I think there is a need to add some filtering for resources that are not being updated:

+--------+----------+
| CHANGE | RESOURCE |
+--------+----------+
+--------+----------+
+--------+----------+
| CHANGE | RESOURCE |
+--------+----------+
+--------+----------+
+--------+----------+
| CHANGE | RESOURCE |
+--------+----------+
+--------+----------+
+--------+----------+
| CHANGE | RESOURCE |
+--------+----------+
+--------+----------+

@armenr
Copy link

armenr commented Mar 9, 2024

+1 to terragrunt support. This would be a huge DX and quality-of-life improvement. I'd donate money to see that developed.

@thiagomaeda
Copy link

It would be great to have terragrunt support, the logs there are far from the ideal size.

@tide-jamiegwatkin
Copy link

Likewise we'd love terragrunt support!

@dineshba dineshba added the help wanted Extra attention is needed label Oct 10, 2024
@rmittal123
Copy link

+1 for terragrunt support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants