• Malcolm (Terrateam)

    Malcolm (Terrateam)

    1 week ago
    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?
  • Alistair (Infracost)

    Alistair (Infracost)

    1 week ago
    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.
  • Malcolm (Terrateam)

    Malcolm (Terrateam)

    1 week ago
    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?
  • Alistair (Infracost)

    Alistair (Infracost)

    1 week ago
    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.
  • Malcolm (Terrateam)

    Malcolm (Terrateam)

    1 week ago
    ok thank you