actions-marketplace-validations/terraform-version

Prints Terraform and providers versions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jan 13, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/dflook_terraform-version@8ee89d962417ed259f9d75e7529e262637c7e5a8 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathThe path to the Terraform root module directory.no.
workspaceThe workspace to determine the Terraform version for.nodefault
backend_configList of Terraform backend config values, one per line. This will be used to fetch the Terraform version set in the cloud workspace if using the `remote` backend. For other backend types, this is used to fetch the version that most recently wrote to the Terraform state. no""
backend_config_fileList of Terraform backend config files to use, one per line. Paths should be relative to the GitHub Actions workspace This will be used to fetch the Terraform version set in the cloud workspace if using the `remote` backend. For other backend types, this is used to fetch the version that most recently wrote to the Terraform state. no""
namedescription
terraformThe Hashicorp Terraform or OpenTofu version that is used by the configuration.
tofuIf the action chose a version of OpenTofu, this will be set to the version that is used by the configuration.