We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm looking for a feature similar to actions/setup-go@v5 https://github.com/actions/setup-go?tab=readme-ov-file#getting-go-version-from-the-gomod-file
actions/setup-go@v5
If we could pass a terraform-version-file that takes a path to a .tf file containing the terraform block with required_version e.g.
terraform-version-file
.tf
required_version
versions.tf
terraform { required_version = "1.3.6" }
action
uses: hashicorp/setup-terraform@v3 with: terraform-version-file: 'path/to/versions.tf'
Or better still just automatically find the .tf file with required_version config
The text was updated successfully, but these errors were encountered:
I do use this action to get a version dflook/terraform-version@v1 (cool to have it built in, but at least some workaround)
Sorry, something went wrong.
No branches or pull requests
I'm looking for a feature similar to
actions/setup-go@v5
https://github.com/actions/setup-go?tab=readme-ov-file#getting-go-version-from-the-gomod-fileIf we could pass a
terraform-version-file
that takes a path to a.tf
file containing the terraform block withrequired_version
e.g.versions.tf
action
Or better still just automatically find the .tf file with
required_version
configThe text was updated successfully, but these errors were encountered: