hashicorp / hashicorp/tfc-workflows-github
Workflow for updating Terraform required_version?
- Dominant language
- HCL
- Stars
- 178
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
Would it make sense to have an option in the `create-run` action to use the version set in the Terraform config i.e. `required_version`?
```
terraform {
required_version = "1.6.5"
}
```
Currently, when I update `required_version` in a pull request the Speculative Plan fails because of the workspace is currently using Terraform 1.3.6:

---
From Terraform Cloud I can retry the run but the Pull Request workflow run will still be marked as failed.

Contributor guide
Assessment
This issue has not been assessed yet.