This message was deleted.
# general
b
This message was deleted.
l
We updated the docker image to use 1.0.10 as the latest 1.0 version. How are you specifying which terraform binary to use? If you pass
INFRACOST_TERRAFORM_BINARY=/usr/bin/terraform_1.0
env var then it will always use whichever latest 1.0 binary we have in the image.
I'll add Terraform 1.0.2 back into the docker image just now. We're looking at migrating to a new action (https://github.com/infracost/setup-infracost) that is more composable and should be easier to bring your own Terraform.
That's pushed now so your existing pipeline should work again.
h
seems to be working now! thanks!!
we are setting it in
infracost.yml
Copy code
version: 0.1

projects:
  - path: .
    terraform_binary: terraform_1.0.2
what are the supported Terraform versions? we are currently on
1.1.0
can I just switch to
terraform_binary: terraform_1.1.0
?
w
Hi Matthew! This shows the versions that are in our docker image. I’d encourage you to switch to our new GitHub Actions as that enables you to use any TF version. I’d be happy to jump on a call and help with the migration if required - it should be quick. Our new GH Actions have much improved GH comment behaviors too.