dnogu/Tofu Apply

A GitHub Action to run tofu apply with all supported options.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
working-directoryThe directory in which to run tofu apply.no.
chdirSwitch working directory before executing tofu apply (--chdir).no""
plan-filePath to a saved plan file to apply. If provided, skips planning phase.no""
auto-approveSkip interactive approval of plan before applying (--auto-approve).nofalse
destroyCreate a destroy plan (--destroy). Only available when not using a saved plan file.nofalse
refresh-onlyCreate a refresh-only plan (--refresh-only). Only available when not using a saved plan file.nofalse
refreshSkip the default behavior of syncing state before applying (--refresh=false). Only available when not using a saved plan file.notrue
replaceForce replacement of particular resource instances (--replace=ADDRESS, comma separated). Only available when not using a saved plan file.no""
targetLimit applying to only the given resource instances (--target=ADDRESS, comma separated). Only available when not using a saved plan file.no""
target-fileLimit applying to resource instances listed in file (--target-file=FILE). Only available when not using a saved plan file.no""
excludeExclude specific resource instances from applying (--exclude=ADDRESS, comma separated). Only available when not using a saved plan file.no""
exclude-fileExclude resource instances listed in file (--exclude-file=FILE). Only available when not using a saved plan file.no""
varSet input variable(s) (--var NAME=VALUE, comma separated). Only available when not using a saved plan file.no""
var-fileSet input variables from file(s) (--var-file=FILENAME, comma separated). Only available when not using a saved plan file.no""
compact-warningsShow warning messages in compact form (--compact-warnings).nofalse
consolidate-warningsConsolidate similar warning messages (--consolidate-warnings).nofalse
consolidate-errorsConsolidate similar error messages (--consolidate-errors).nofalse
inputAsk for input if necessary (--input=true|false).nofalse
jsonProduce output in JSON format (--json). Requires --auto-approve or saved plan file.nofalse
lockEnable or disable state locking (--lock=true|false).notrue
lock-timeoutOverride the time to wait for a state lock (--lock-timeout=DURATION).no0s
no-colorDisable color codes in output (--no-color).nofalse
conciseDisable progress-related messages (--concise).nofalse
parallelismLimit the number of concurrent operations (--parallelism=n).no10
stateLegacy option for local backend only (--state=STATEFILE).no""
state-outLegacy option for local backend only (--state-out=STATEFILE).no""
backupLegacy option for local backend only (--backup=BACKUPFILE).no""
show-sensitiveDisplay sensitive values in output (--show-sensitive).nofalse
deprecationSpecify what type of warnings are shown (--deprecation=module:all|module:local|module:none).nomodule:all
display-outputDisplay the apply output in the GitHub Actions log (true/false).notrue
namedescription
apply-outputThe output from tofu apply.
exitcodeThe exit code from tofu apply.