# Cleanup

```bash
cd terraform
terraform destroy
```

If a table delete hangs, wait — DynamoDB deletes are usually seconds. Do not leave the EventBridge rule (`rate(1 minute)`) running overnight; that is the main idle cost besides a few Lambda-minutes.

Confirm:

```bash
aws lambda list-functions --query "Functions[?starts_with(FunctionName, \`YOURPREFIX\`)].FunctionName"
aws dynamodb list-tables --query "TableNames[?contains(@, \`YOURPREFIX\`)]"
```

Both should be empty of this lab's resources.
