teardown_stack
Terminate an OCI instance and tear down its entire VCN, including subnets, gateways, and security lists, cleaning up associated network resources.
Instructions
Terminate an instance and tear down its VCN (subnets, gateways, security lists).
Order: instance(s) -> subnets -> clear route tables -> IGW/NAT/Service gateways
-> non-default security lists -> non-default route tables -> VCN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| instance_id | No | ||
| vcn_id | No |