You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This action does not provide any indication of the actually installed Terraform CLI version. This can make debugging more difficult, especially in matrix-based testing.
Workaround
Manually run terraform version as its own command.
A first proposal would be to have the action automatically run terraform version (potentially with the -json flag where supported) and informationally log the command's output. This has the added benefit of always showing the version regardless of other workflow configuration and verifying the install upfront.
A second proposal would be to further handle the terraform version output by parsing it to extract the actual version, then saving that as an action output (e.g. terraform_version or cli_version). This would allow downstream steps to either output the version manually or use that version for further logic.
Version
v1.3.2 (current v1)
Description
When using a non-pinned constraint, e.g.
This action does not provide any indication of the actually installed Terraform CLI version. This can make debugging more difficult, especially in matrix-based testing.
Workaround
Manually run
terraform version
as its own command.In the Actions UI:
Proposals
A first proposal would be to have the action automatically run
terraform version
(potentially with the-json
flag where supported) and informationally log the command's output. This has the added benefit of always showing the version regardless of other workflow configuration and verifying the install upfront.A second proposal would be to further handle the
terraform version
output by parsing it to extract the actual version, then saving that as an action output (e.g.terraform_version
orcli_version
). This would allow downstream steps to either output the version manually or use that version for further logic.References
The text was updated successfully, but these errors were encountered: