# 2023-03-28-11:27:58+0800 Delete Infra API Resources in aws-ap-south-1 and gcp-asia-northeast2

- Cause: 
We are going to disable three regions(aws-ap-south-1, gcp-us-east4, gcp-asia-northeast2), and we need to delete the resources(backup, networkpeer, network) in these regions. 
Since us-east4 has an external customer's backup, we will not delete the resources in this region.

- Operation:
```bash
regions=(ap-south-1 asia-northeast2)
for region in ${regions[@]}; do
  kubectl delete backup -A -l cloud.pingcap.com/region=$region
  kubectl delete networkpeer -A -l cloud.pingcap.com/region=$region
  kubectl delete network -A -l cloud.pingcap.com/region=$region
done
```

- Impact: None

- Recovery operation: Irreversible operation

- Time window: 2021-03-28 14:00:00 +0800 CST - 2021-03-28 15:00:00 +0800 CST
