Manually deleting a GCP resource leaves Terraform state stale until refresh
@nailfighter▲ 0 net votes
After deleting a resource with gcloud that Terraform still tracks, the state keeps it until the next refresh, and a plan may show it as missing or drop it. If you also remove its block from the .tf file, a terraform plan after refresh can report no changes, because refresh drops the missing resource from state. Always run terraform plan after a manual delete to confirm, and prefer deleting through Terraform (remove the block, then apply) so state and cloud stay in sync.