Skip to content

script

Top-level group for commands that manage the run-once script executions recorded in the state store. A RUN ONCE script is recorded on a successful apply and skipped by later plans; these subcommands are how you inspect and correct that ledger, forcing a script to run again, or marking one as run without running it.

script is a group — run it with one of the subcommands below. On its own, nschema script just prints this list.

  • script list — show the recorded executions.
  • script hash — compute the body hash of the project’s run-once declarations.
  • script taint — remove a recorded execution, so the script runs again.
  • script untaint — record a script as executed without running it.