# infracost/infracost

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/infracost-infracost).**

12,369 stars · 675 forks · Go · Apache-2.0

## Links

- GitHub: https://github.com/infracost/infracost
- Homepage: https://infracost.io
- awesome-repositories: https://awesome-repositories.com/repository/infracost-infracost.md

## Topics

`aws` `azure` `cloud` `cloud-cost-estimates` `cost-estimation` `cost-management` `cost-optimization` `devops` `finops` `gcp` `google` `infrastructure-as-code` `monthly-costs` `terraform` `terraform-cost-estimation`

## Description

Infracost is an infrastructure-as-code financial governance platform that calculates the cost impact of cloud resource changes. By performing static analysis on configuration files, the tool identifies infrastructure resources and their properties to estimate spending changes before deployment occurs.

The platform distinguishes itself by integrating directly into development workflows, providing automated cost reporting and policy validation within pull request comments. It utilizes a modular architecture to map infrastructure definitions to real-time pricing data from cloud providers, allowing teams to receive immediate feedback on the financial implications of their code changes.

Beyond basic estimation, the tool includes a policy-as-code engine that enforces organizational budget constraints and compliance standards. This allows for the automated detection of potential spending violations or tagging requirement failures during the continuous integration process.

## Tags

### DevOps & Infrastructure

- [Cloud Budgeting Tools](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/cloud-orchestration-automation/cloud-budgeting-tools.md) — Enforces budget constraints and identifies potential cost increases in cloud resource configurations.
- [Cost Analysis Tools](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/iac-providers-and-cloud/terraform-providers/cost-analysis-tools.md) — Analyzes infrastructure-as-code files to provide financial impact estimates and budget policy checks.
- [Cost Estimators](https://awesome-repositories.com/f/devops-infrastructure/resource-cost-management/cost-estimators.md) — Calculates the financial impact of infrastructure changes by analyzing configuration files before deployment. ([source](https://www.infracost.io/docs/))
- [Infrastructure as Code](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-as-code.md) — Calculates cloud spending changes from infrastructure-as-code files and reports them in pull requests.
- [Resource Cost Management](https://awesome-repositories.com/f/devops-infrastructure/resource-cost-management.md) — Embeds cost estimation and policy checks directly into development tools and deployment pipelines. ([source](https://www.infracost.io/docs/))

### Security & Cryptography

- [Infrastructure Policy Enforcement](https://awesome-repositories.com/f/security-cryptography/infrastructure-policy-enforcement.md) — Identifies and flags resource configurations that violate organizational budget constraints and compliance standards. ([source](https://www.infracost.io/docs/))
- [Policy-As-Code Engines](https://awesome-repositories.com/f/security-cryptography/policy-as-code-engines.md) — Executes user-defined rules against infrastructure plans to detect budget and compliance violations before deployment.

### Development Tools & Productivity

- [Automated Pull Request Reviewers](https://awesome-repositories.com/f/development-tools-productivity/developer-utilities-libraries/developer-tools/version-control-ecosystems/github-integrations/automated-pull-request-reviewers.md) — Provides financial feedback directly within code review comments to inform infrastructure decisions.
- [Pull Request Processes](https://awesome-repositories.com/f/development-tools-productivity/pull-request-processes.md) — Displays estimated cloud spending changes directly within pull request comments for team review. ([source](https://www.infracost.io/docs/))

### Software Engineering & Architecture

- [Cloud Provider Mappings](https://awesome-repositories.com/f/software-engineering-architecture/modular-provider-interfaces/cloud-provider-mappings.md) — Maps infrastructure resource definitions to real-time pricing data from cloud provider APIs.
- [DevOps Pipeline Integrations](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/workflow-automation-integrations/ci-cd-integrations/devops-pipeline-integrations.md) — Integrates automated cost estimation and policy checks into deployment pipelines.
- [Plugin-Based Architectures](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/plugin-module-systems/modular-plugin-architectures/plugin-based-architectures/plugin-based-architectures.md) — Uses a decoupled plugin architecture to translate diverse infrastructure resources into standardized cost models.

### Testing & Quality Assurance

- [Static Analysis](https://awesome-repositories.com/f/testing-quality-assurance/code-quality-review/static-analysis.md) — Parses infrastructure-as-code configuration files to identify resources and properties without executing the code.
