adj cluster deprovision
Tear down a cluster's data plane via a local OpenTofu destroy
Destroy the data-plane AWS infrastructure for a cluster.
Runs the local OpenTofu destroy (handling the two-pass teardown for stuck k8s-provider resources). This does NOT deregister the cluster record — use 'cluster rm' for that. Requires tofu + aws on this machine.
Usage
adj cluster deprovision <id|name> [flags]
Flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--aws-profile |
— |
AWS profile for tofu + aws (default: ambient env credentials / AWS_PROFILE) | |
--module-dir |
— |
path to a local OpenTofu module checkout (developer override; default: use the module embedded in adj, which also forces --skip-build) | |
--yes |
false |
skip the confirmation prompt |
Global flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--context |
— |
config context to use (overrides current-context) | |
--output |
-o | table |
output format: table|json|yaml |
--server |
— |
server base URL (overrides the active context) | |
--token |
— |
access token (overrides the active context) | |
--verbose |
-v | false |
log requests to stderr |