Infracost CI/CD integrations can be used to automatically add a pull request comment showing the diff of monthly costs between the current and planned state. Minor cost increase/decrease changes can be ignored by setting a percentage threshold for the comment to be added.
If you're upgrading your integrations from an older version to
v0.8, please see the migration guide.
- Set the
INFRACOST_LOG_LEVELenvironment variable to
debugin case that provides more useful details. For Atlantis, also set
- Check the Terraform version that Infracost is using matches the version you need. Use the
INFRACOST_TERRAFORM_BINARYenvironment variable to change that.
ls -lahin the CI build to check for any
.terraform*files/folders that might be confusing Terraform running in CI vs previous runs that were used to create them. Removing those files might help.
- Check the Terraform Cloud/Enterprise or Terragrunt docs pages if applicable.
Please create an issue; we'll try to prioritize it depending on the community feedback. There are already requests for Jenkins, BuildKite and Azure DevOps. Please 👍 them if you'd like us to work on them sooner. You can also join our community Slack channel if you like to work on an integration, the existing integrations can act as a blueprint.
Please email firstname.lastname@example.org if you'd like to discuss integrations with GitHub Enterprise, GitLab Enterprise Edition, or Bitbucket Data Center.