Tear down¶
Spokes first, then network — so shared-rule associations go away before the hub endpoint and BIND.
Mutation guard
Local agent shells need export R53_OUTBOUND_ALLOW_AWS=1 before apply/destroy.
Destroy (dev)¶
cd terraform/accounts/dev
terraform destroy
Destroy complete! Resources: 18 destroyed.
Destroy (sandbox)¶
cd terraform/accounts/sandbox
terraform destroy
Destroy complete! Resources: 18 destroyed.
Destroy (network)¶
cd terraform/accounts/network
terraform destroy
Destroy complete! Resources: 32 destroyed.
Resource counts above are from this lab’s evidence pass (central + reverse rules). Your apply history may differ slightly.
Outbound ENIs stop billing once destroyed (~$6/day while they ran). If dig still failed before destroy, see Troubleshooting.