This message was deleted.
# general
b
This message was deleted.
l
Hi! We are close to releasing v0.10 which should help and there’s a pre-release beta version here: a pre-release version here just now: https://github.com/infracost/infracost/releases/tag/v0.10.0-beta.1. By default it uses the HCL parsing which is much faster than generating the Terraform plan JSON files. It also allows you to point to the top level directory of a Terraform mono repo and get all the costs for the sub-directories. Let us know if that helps.
🙌 1
👍 1
g
@little-author-61621 Hi, I tried it out using the following command:
Copy code
infracost breakdown --path code/quansight/qhub/ INFRACOST_LOG_LEVEL​="debug"
The command was stuck for almost 2-3 hours without any credible output. Can you please mention what might be going wrong here? Should I go ahead and create an issue for this?
l
Yeah that seems like a bug, so would be good to get an issue created. Did the logs show anything? I wonder if the directory is so big it takes ages to scan for projects. Maybe you could run
find code/quansight/qhub/ -type f | wc -l
to count the number of files.
g
Nope. No logs were displayed (strangely!)
I do admit that there are 457 files 😅
l
hmm, that doesn’t seem like a lot
does using the
--log-level
flag show anything, e.g.:
Copy code
infracost breakdown --path=code/quansight/qhub/ --log-level=debug
g
Cool, stuff is being logged now!
Hi @little-author-61621 👋 I have created an issue here: https://github.com/infracost/infracost/issues/1662 Can you please have a look?
l
Thanks 🙏