Deploy your infrastructure via a CircleCI pipeline using the Terraform orb. Integrate Infrastructure-as-Code (IaC) to help provision and manage any cloud, infrastructure, or service of your choice.
Describe the bug
When using the terraform/install step with terraform_version: latest, shasum checking fails because it's using the wrong variable for the name of the file.
To Reproduce
Run a job with a step like this:
- terraform/install:
terraform_version: latest
Expected behaviorterraform/install should work with latest
Additional context
Logs from usage:
Using Terraform version '1.2.9'
2022-09-17 01:06:11 URL:https://releases.hashicorp.com/terraform/1.2.9/terraform_1.2.9_linux_amd64.zip [19906116/19906116] -> "terraform_1.2.9_linux_amd64.zip" [1]
2022-09-17 01:06:11 URL:https://releases.hashicorp.com/terraform/1.2.9/terraform_1.2.9_SHA256SUMS [1378/1378] -> "terraform_1.2.9_SHA256SUMS" [1]
cat: terraform_latest_SHA256SUMS: No such file or directory
Orb Version 3.1.0
Describe the bug When using the
terraform/install
step withterraform_version: latest
, shasum checking fails because it's using the wrong variable for the name of the file.To Reproduce Run a job with a step like this:
Expected behavior
terraform/install
should work withlatest
Additional context Logs from usage: