-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't workingnewA new issue or feature request that has not yet been triaged by maintainersA new issue or feature request that has not yet been triaged by maintainers
Description
Description
After the v7.0.0 release, the Job will fail with "Terraform not installed" if terraformVersion
is not specified.
terraformVersion
is listed as an optional input in the README, which is incorrect.
The stupid thing is that terraformVersion
must match the version that actions/setup-terraform
installs, not the input terraform_version
.
The README sample also has a problem with the versions specified in actions/setup-terraform
and terraformVersion
, which do not match.
I think it's a bug.
GitHub Action Version
v7.0.3
Configuration
githubToken: ${{ secrets.GITHUB_TOKEN }}
mode: auto-approve-apply
stackName: some-stack
terraformCloudToken: ${{ secrets.TF_API_TOKEN }}
Gist
https://gist.github.com/rokoucha/c1c6d53ea5d7669bcdf727f7834f3e3d
Possible Solutions
If the terraformVersion
is omitted, any version of Terraform should be accepted.
Workarounds
Specifying the exact version
Anything Else?
No response
References
No response
Help Wanted
- I'm interested in contributing a fix myself
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
jcorreia-forbesadvisor
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingnewA new issue or feature request that has not yet been triaged by maintainersA new issue or feature request that has not yet been triaged by maintainers