dflook/terraform-version
Prints Terraform and providers versions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | The path to the Terraform root module directory. | no | . |
| workspace | The workspace to determine the Terraform version for. | no | default |
| backend_config | List 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_file | List 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 | "" |
Outputs
| name | description |
|---|---|
| terraform | The Hashicorp Terraform or OpenTofu version that is used by the configuration. |
| tofu | If the action chose a version of OpenTofu, this will be set to the version that is used by the configuration. |