This message was deleted.
# general
b
This message was deleted.
w
Hi Victor, what’s the CI/CD system you’re interesting with? As shown below, the CLI will error if it can’t find the usage file, do you want it to not fail if it can’t find it in the container?
Copy code
infracost breakdown --path examples/terraform --usage-file not-here.yml
Detected Terraform directory at examples/terraform

Error: Error reading usage file: open not-here.yml: no such file or directory
p
My CI/CD is Gitlab
w
is the usage-file committed to that branch?
p
I hope that the first resources created are the starting point of comparison in the repository
my question is the usage file should be a breakdown output?
w
the usage-file can be passed into the
infracost reakdown
or the
infracost diff
command, but first you need to run https://www.infracost.io/docs/usage_based_resources/#1-generate-usage-file on your machine commit the file to the branch so it can be used in CI/CD
p
i'm test
👍 1
usage-file is a resource that i must keep to be able to added to next job how point of comparison ?
w
it’s a file that you can update to input usage data like “how many GB of storage are in your S3 bucket” so Infracost can provide a more accurate cost estimate. You don’t need it when you are starting to use Infracost for the first time. It’s helpful if you want to get more accurate estimates.
The top section of this page explains it with an example of AWS Lambda, I’m happy to jump on a call to demo it to you if it helps 🙂 feel free to DM me
p
thanks continued testing
When is its commercial version estimated for?
w
We don’t have a time estimate yet but we’d love hearing your feedback on what features you think should be in the paid product!
p
ok when I to finished my POC send you my feedback
🙌 1
🙇‍♂️ 1