Add OpenTofu version file support (#59)

Signed-off-by: Brendon Smith <bws@bws.bio>
This commit is contained in:
Brendon Smith authored and GitHub committed 2025-08-04 09:32:54 -03:00
1 parent 4a98c1282d
commit 000eeb8522
7 files changed
+258 -2

No files matched your search

+3
View File
@@ -13,6 +13,9 @@ inputs:
description: 'The version of OpenTofu CLI to install. If no version is given, it will default to `latest`.'
default: 'latest'
required: false
tofu_version_file:
description: 'Path to a file containing the OpenTofu version to install. Takes precedence over `tofu_version` if both are provided.'
required: false
tofu_wrapper:
description: 'Whether or not to install a wrapper to wrap subsequent calls of the `tofu` binary and expose its STDOUT, STDERR, and exit code as outputs named `stdout`, `stderr`, and `exitcode` respectively. Defaults to `true`.'
default: 'true'