3ware / workflows

Reusable workflow repository
MIT License
0 stars 1 forks source link

feat: Add tfswitch step to lint workflow #72

Closed chris3ware closed 9 months ago

chris3ware commented 9 months ago

Currently passing the version in as a static input from the calling workflow. A better approach is to use tfswitch to read the required terrafrom version from the required_version defined in the terraform block.

kvendingoldo commented 5 months ago

btw. you can also use tenv that support Terraform as well as OpenTofu (and Terragrunt :) ) in one tool. It allow you to simplify version management and can do much more, than tfswitch.