-
Notifications
You must be signed in to change notification settings - Fork 523
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
Error Generating Breakdown with v0.10.35 #3010
Comments
Hello! Thank you for creating the issue! Indeed For the custom provider, you are right, Infracost doesn't support that. It only supports AWS/Azure and Google providers. Could you please clarify that your repo has only this community provider and nothing else? CLI should correctly evaluate aws/azure/google stuff and show their breakdown, but ignore the unsupported ones. |
Interesting. Is it possible to create a minimal TF example that we could use to reproduce it? |
Hi I will look to see if I can create a minimal one with a subset of the resources we are using. Would you need any config such as backends setup? or simply a TF project mirroring the folder structure that I have? In the interim I have copied the entire debug output which have attached which may provide some further insights did see on a second run these lines which I wasn't sure what they meant
|
Thank you! Let's start with just the TF code and we'll go from there :) |
Sorry meant to get back to this. I also did some ruling out of issues running locally by adding the infracost calls as step within a Bitbucket Pipeline am using here is the pipeline step for context
and that has worked for the project in question which has produced a comment on the PR I have made which looks as follows but when running same commands locally still get the original issue. Just wondering if anything else I should be checking |
Yeah so the Docker Daemons behind the Bitbucket Runners have caching enabled (not sure on the duration) but will more than likely be the explanation for the above. I am happy for this issue to be closed. Thank you very much @vdmgolub for taking the time out to look into and advise on this issue. It is very much appreciated |
Hope this resolves it. Thank you for all the provided info 🙏. I'm going to close the issue for now, but please reopen it if this ends up being something different. Happy Friday to you and have a great weekend! :) |
When attempting to run a Infracost breakdown using v0.10.35 it resulted in a report with no resources and therefore no costs.
Attempting to run within the
--debug-report
flag resulted in the following Go routine error and no report being generatedOne thing I did notice about the project that this occurred on it was using some community providers such as
postgresql = { source = "cyrilgdn/postgresql" version = "1.20.0" }
as the projects that were just using Hashicorp providers seemed to work without issue or is this just a coincidence?The text was updated successfully, but these errors were encountered: