Third-party integrations
Infracost can be used in the following third-party systems. You should only consider using them if you cannot use our CI/CD integrations as these integrations are very minimal, do not post pull request comments nor do they work with other Infracost Cloud features such as FinOps policies, Tagging policies or Guardrails.
- Terraform Cloud/Enterprise Run Tasks
- Scalr
- Spacelift
- Env0
- Harness Infrastructure as Code Management
- Terrateam
- Terraspace
- Terranetes
- Terrakube
- Keptn
- Brainboard
- Semaphore
- cloud-concierge
Creating an integration
Please follow these steps when creating a third-party integration with Infracost:
- User-specific API keys: ask your users to sign up for their own free Infracost API key and enter that into your product's settings page. This approach is used by our partners, including HashiCorp, as it enables users to use custom price books and other user-specific Infracost features. Your docs should mention something like:
- Sign up and go to the Org Settings page to get your free Infracost API key.
- Install Infracost to get your free API key.
- Use Terraform directory method: we recommend you run Infracost against a Terraform directory (as opposed to a Terraform plan JSON file) as that is faster and does not require you to set cloud credentials or secrets.
- CLI JSON format: Infracost's CLI has a JSON format that you should use, e.g. get total cost estimate. We do not have language-specific clients so your application needs to run the Infracost CLI. You can also use this API if you have a Terraform plan JSON file already.
- Email us: Our email is hello@infracost.io, contact us if you need help or advice on the best ways to integrate, or would like to be featured in this page!