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

Breakdown timing after 0.10.32+ #3006

Open
ElianaFerioli opened this issue Apr 9, 2024 · 1 comment
Open

Breakdown timing after 0.10.32+ #3006

ElianaFerioli opened this issue Apr 9, 2024 · 1 comment

Comments

@ElianaFerioli
Copy link

After upgrading to version 0.10.32 the breakdown process is taking a lot of time. We have a complex infrastructure and we are using modules and submodules. The breakdown for our infrastructure in v0.10.31 takes about 1 minute but from 0.10.32+ it can take more than 40 minutes. Also, even with debug level no information is being showed more than this:

2024-04-08T14:09:26Z INF Evaluating Terraform directory at states
2024-04-08T14:09:26Z INF Evaluating Terraform directory at states
2024-04-08T14:09:26Z INF Evaluating Terraform directory at states
2024-04-08T14:09:26Z INF Evaluating Terraform directory at states
2024-04-08T14:09:26Z INF Evaluating Terraform directory at states
2024-04-08T14:09:26Z INF Evaluating Terraform directory at states
2024-04-08T14:09:26Z INF Evaluating Terraform directory at states
2024-04-08T14:09:26Z INF Evaluating Terraform directory at states
2024-04-08T14:09:26Z INF Starting: Retrieving cloud prices to calculate costs
2024-04-08T14:09:26Z INF Starting: Retrieving cloud prices to calculate costs
2024-04-08T14:09:26Z INF Starting: Retrieving cloud prices to calculate costs
2024-04-08T14:09:26Z INF Starting: Retrieving cloud prices to calculate costs
2024-04-08T14:09:26Z INF Starting: Downloading Terraform modules
2024-04-08T14:09:26Z INF Starting: Downloading Terraform modules
2024-04-08T14:09:26Z INF Starting: Downloading Terraform modules
2024-04-08T14:09:26Z INF Starting: Downloading Terraform modules
@vdmgolub
Copy link
Contributor

vdmgolub commented Apr 9, 2024

Hello! Thank you for creating the issue! Could you please provide a bit more info? Without it it's pretty hard to debug anything.

  1. Is it Terraform or Terragrunt repo?
  2. How do you run Infracost? Manually on a local machine, in CI/CD, via Infracost Cloud? How do you specify the log level?
  3. If in CI/CD, what type (GitHub workflows, Azure pipelines, etc). What does the workflow look like?
  4. Do you use a config file? If yes, have you used a template?

Also, please try running the breakdown with INFRACOST_GRAPH_EVALUATOR=true env var and see if this helps.

Thank you!

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