Hello,
As specified by Youssef in the post above, we're two interns from Amadeus working on your Infracost project. At first, we chose to reorganize the project files and refactor some code in order to avoid duplication, but we understood from
@mysterious-teacher-68276's response that you prefer for us not to work on that. So, we decided to give up on that and move on to our main objective, which is adding support for ARM JSON. We submitted a PR for that. We followed CloudFormation's example and kept our PR as small as possible, with only a couple of resources supported, a basic parser and CLI using the config-file flag, and tested most of the things we added. Here is the link
https://github.com/infracost/infracost/pull/3174
If this PR is accepted, more things will be added in upcoming PRs:
• More complex parsing logic: Handling functions, variables and parameters
• Handling references between resources & tests
• Handling free resources
• More resources & their tests
• CLI using the path flag