description:'Sets up OpenTofu CLI in your GitHub Actions workflow.'
author:'OpenTofu'
inputs:
cli_config_credentials_hostname:
description:'The hostname of a Terraform Cloud/Enterprise instance to place within the credentials block of the OpenTofu CLI configuration file. Defaults to `app.terraform.io`.'
default:'app.terraform.io'
required:false
cli_config_credentials_token:
description:'The API token for a Terraform Cloud/Enterprise instance to place within the credentials block of the OpenTofu CLI configuration file.'
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'
required:false
outputs:
stdout:
description:'The STDOUT stream of the call to the `tofu` binary.'
value:''
stderr:
description:'The STDERR stream of the call to the `tofu` binary.'
value:'Wrapper was not activated'
exitcode:
description:'The exit code of the call to the `tofu` binary.'