How To
Destroy via manual workflow
Normally Digger workflow is not supposed to be triggered manually. It is triggered ether by the orchestrator backend, or directly by an event from GitHub (in the “backendless” mode with no-backend: true
option set). The Destroy operation is a special case, by design: the only way to run terraform destroy
in Digger is by triggering a workflow manually. This way unwanted destroys are guaranteed to never happen.
You can create a dedicated workflow accepting project name and action:
Note the arguments “mode: manual” and “command: digger destroy” above are different from the default workflow