Infracost is an open-source project which aims to assist companies in estimating the cost implications of changes made to their cloud infrastructure. It helps address the challenge of predicting costs associated with deploying new resources and making structural adjustments.
By utilizing its Cloud Pricing API backend service, Infracost parses Terraform plans to provide a detailed cost summary based on individual cloud resources and their associated cost parameters. Notably, it does not require credentials or make alterations to Terraform or cloud resources. Instead, it counts Terraform resource types to ensure accurate cost estimations, including newly deployed resources.