📄️ Terraform Backends
When you run Terraform for the first time, it creates a file known as the terraform.tfstate. This is a JSON format file that records mapping between your resources in the configuration files and the real resources in the infrastructure provider. By default, Terraform uses a local backend which stores state files on your local filesystem. This is known as the "local" state.
Wing supports compilation to various targets including tf-aws, tf-azure, tf-gcp, and awscdk. After compilation, Wing does not impose a specific deployment method for your infrastructure. Its Terraform target compatibility ensures that nearly all existing services can be utilized for deployment, offering considerable flexibility to choose the approach best aligned with your organizational needs or preferences.