delete_vng
Delete an AWS Ocean VNG (launch spec) with confirmation. Optionally drain and terminate nodes or force delete the last VNG.
Instructions
DESTRUCTIVE: Delete an AWS VNG (launch spec). Requires confirm=true.
Args: vng_id: The VNG/launch spec ID to delete. confirm: Must be true to execute. Safety guard. account_id: Optional account ID. Defaults to SPOTINST_ACCOUNT_ID env var. delete_nodes: If true, drain + detach + terminate all nodes in this VNG. If false (default), VNG is deleted but nodes continue until they naturally terminate or are moved. force_delete: If true, delete even if this is the only non-template VNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vng_id | Yes | ||
| confirm | No | ||
| account_id | No | ||
| delete_nodes | No | ||
| force_delete | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |