Hello, a question on this usage: `infracost diff -...
# general
k
Hello, a question on this usage:
infracost diff --path infracost-today.json --compare-to infracost-last-week.json
If I have a project that is in last-week but not today or vice versa, the diff handles that just fine, right?
l
If both
infracost-today.json
and
infracost-last-week.json
were generated from the same
--path
value when you run
infracost breakdown
then it should yeah.
k
In this case I would be making an infracost.yml that has multiple projects configured in it, but that list of projects could change between last week and today (for example if we added or removed a project)
The paths in an infracost.yml are relative to the
--path
passed in to the CLI?
l
That should work. When you're using the infracost.yml file then you don't pass a
--path
param so the paths in the yml should be relative to the current working directory.
k
ok thank you