+
Skip to content

Conversation

hugorut
Copy link
Contributor

@hugorut hugorut commented Jul 12, 2024

Changes the remote module cache dir matcher to have optional directories in front of the .infracost cache dir. This is likely to happen when infracost is run with a path in the same working directory. As is most often the case with config files. Prior to this change the regex matcher was not matching module files such as .infracost/terraform_modules/foo/main.tf and therefore not sending the required moduleFilename to the API to identify the file as originating from a remote module.

@hugorut hugorut self-assigned this Jul 12, 2024
@hugorut hugorut force-pushed the fix/module-regex branch from 12b36fa to 9dc9c72 Compare July 12, 2024 16:23
Changes the remote module cache dir matcher to have optional directories in front
of the `.infracost` cache dir. This is likely to happen when infracost is run with
a path in the same working directory. As is most often the case with config files.
@hugorut hugorut force-pushed the fix/module-regex branch from 9dc9c72 to af6c346 Compare July 12, 2024 16:32
@hugorut hugorut marked this pull request as ready for review July 12, 2024 16:39
@hugorut hugorut requested a review from tim775 July 12, 2024 16:43
@hugorut hugorut merged commit 83c5f07 into master Jul 12, 2024
@hugorut hugorut deleted the fix/module-regex branch July 12, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载