broad-zoo-34077
07/05/2022, 3:05 PMmysterious-teacher-68276
07/05/2022, 3:07 PMwhite-airport-8778
infracost-usage.yml
so if that exists in the dir where Infracost is executing from, it would use that file?mysterious-teacher-68276
07/05/2022, 3:09 PMwhite-airport-8778
mysterious-teacher-68276
07/05/2022, 3:18 PMINFRACOST_USAGE_FILE
will be problematic for multi-project workspaces that use different usage files namings. The most robust solution is to allow users to specify the infracost usage files through the editor. But this is a bit tricky as we basically have to detect the projects and dynamically build the configuration options available to them in the UI. Then persist that information across workspace opens.
I think the easiest and best solution for now is to default to infracost-usage.yml
as detected by default. However, we need to update docs to let users know that this is the case for auto-detection.white-airport-8778
infracost-usage.yml
solve your problem? so in each repo/dir, you’d have that file and it would always be applied if it’s present, though you could comment-out the contents if you don’t want that to be applied.swift-byte-80833
07/05/2022, 3:22 PMswift-byte-80833
07/05/2022, 3:22 PMwhite-airport-8778