script taint
Remove a script’s recorded execution from the state store, so the
RUN ONCE script runs again on the next apply.
nschema script taint seed-usersUse it when a run-once script needs to happen again: its effect was undone out-of-band, or its body has changed and you
want the new version to run. The next plan will show the script as pending, and the next apply
will execute and re-record it. The change runs under the state lock.
Arguments
Section titled “Arguments”name(required) — the script’s declared name, as shown byscript list.
Options
Section titled “Options”--no-lock— taint without acquiring the state lock. You take responsibility for preventing concurrent runs.