It's unbelievable that in 2025, there's still no reliable JavaScript API to differentiate between a tab close and a page refresh.
Terraform is an infrastructure as code (IaC) tool developed by HashiCorp. It allows users to define and provision infrastructure using a declarative configuration language, enabling automation and management of cloud and on-premise resources.
https://developer.hashicorp.com/terraform/intro
https://developer.hashicorp.com/terraform/intro
What is Terraform | Terraform | HashiCorp Developer
Terraform is an infrastructure as code tool that lets you build, change, and version cloud and on-prem resources safely and efficiently.