hashicorp / setup-terraform

Sets up Terraform CLI in your GitHub Actions workflow.
https://developer.hashicorp.com/terraform/tutorials/automation/github-actions
Mozilla Public License 2.0
1.37k stars 241 forks source link

utilize .tool-versions file to resolve terraform version #323

Open plukevdh opened 1 year ago

plukevdh commented 1 year ago

Several other Github Actions are utilizing the ASDF .tool-versions file for controlling... well... tool versions.

This is super rudimentary, but since .tool-versions is a fairly straightforward formatting option (i.e., only X.Y.Z), it seems fairly easy to add on as a potential version resolution option.

Would love feedback and modifications as this is found useful.

hashicorp-cla commented 1 year ago

CLA assistant check
All committers have signed the CLA.

chenrui333 commented 11 months ago

cc @austinvalle

tanguyantoine commented 8 months ago

up, it would be very helpful

plukevdh commented 4 months ago

Hello?

chenrui333 commented 4 months ago

I am not maintainer for the repo, but this looks good to me :)

plukevdh commented 4 months ago

Ah sorry about that @chenrui333. Saw you had an early review and thought you might be someone who could move this along. Appreciate the eyes