Please see this section
- 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.