scalr/Scalr Github Action

Installs Scalr and OpenTofu/Terraform CLI and configures them for Scalr use.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
scalr_hostnameThe hostname of a Scalr install. Example: username.scalr.io.yes
scalr_tokenThe API token to use.yes
scalr_workspaceThe Scalr workspace ID you plan on working in. This is required if you want to autodetect the OpenTofu/Terraform version unless you provide scalr_workspace_name and scalr_environment_name instead.no
scalr_workspace_nameThe Scalr workspace name to resolve. Must be used together with scalr_environment_name.no
scalr_environment_nameThe Scalr environment name that contains scalr_workspace_name. Must be used together with scalr_workspace_name.no
iac_platformSpecifies if you want to use the tofu or terraform platform.noterraform
binary_versionThe concrete version of OpenTofu/Terraform CLI to install. Leave empty and provide scalr_workspace to autodetect from Scalr.no
binary_wrapperWhether or not to install a wrapper to wrap subsequent calls of the `tofu/terraform` binary and expose its STDOUT, STDERR, and exit code as outputs named `stdout`, `stderr`, and `exitcode` respectively. Defaults to `true`.notrue
binary_outputExport OpenTofu/Terraform output variables as Action output variables.nofalse
terraform_versionDeprecated. Use `binary_version` instead.no
terraform_wrapperDeprecated. Use `binary_wrapper` instead.notrue
terraform_outputDeprecated. Use `binary_output` instead.nofalse
pr_commentPost terraform/tofu plan output as a PR comment. GITHUB_TOKEN is injected automatically. Only fires on pull_request and pull_request_target events.nofalse
namedescription
stdoutSTDOUT from the last tofu/terraform command (requires binary_wrapper: true).
stderrSTDERR from the last tofu/terraform command (requires binary_wrapper: true).
exitcodeExit code from the last tofu/terraform command (requires binary_wrapper: true).