dflook/tofu-version
Prints OpenTofu 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 OpenTofu root module directory. | no | . |
| workspace | The workspace to determine the OpenTofu version for. | no | default |
| backend_config | List of OpenTofu backend config values, one per line. This will be used to fetch the OpenTofu 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 OpenTofu state. | no | "" |
| backend_config_file | List of OpenTofu backend config files to use, one per line. Paths should be relative to the GitHub Actions workspace This will be used to fetch the OpenTofu 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 OpenTofu 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. |