-
Notifications
You must be signed in to change notification settings - Fork 56
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
Extension fails to run in large workspaces that aren't fully Terraform #35
Comments
hey @ddulic, thanks for raising this issue. So the extension should be fine running in a workspace where not all projects are Terraform projects. At this point the extension is just a UI wrapper for the binary, so it's a bit weird that you can run
Thanks |
Thanks for the prompt reply @hugorut!
Actually, that was just me confirming that I can run When I attempt to run it in the folder that is causing the extension to crash I get the following: ~/Work/work-project-name
❯ infracost breakdown --path .
Error: No valid Terraform files found at the given path, try a different directory
Try setting --path to a Terraform plan JSON file. See https://infracost.io/troubleshoot for how to generate this. Just wanted to clarify that. So |
@ddulic does If these are less than 5 folders deep, yes please I'd love if you could run the debug steps. Thanks |
Hello, I am seeing the following issue
I am assuming that the issue is that I have a large workspace where not all projects are Terraform projects.
This should not prevent the extension from running.
Reinstalling the expansion doesn’t resolve the issue.
I am able to run
infracost breakdown --path .
directly in the Terraform projects to get the output, but the extension still doesn’t work.Running
infracost breakdown --path .
in the top-level folder housing all the projects works as intended and skips the folders that aren’t TF.The text was updated successfully, but these errors were encountered: