Introduction
When you use Terraform to manage your cloud resources, you need a safe place to store the information about what you created. The GCS backend lets you save this information in Google Cloud Storage, so your team can share it and avoid conflicts.
When you want to share Terraform state files safely among team members.
When you want to keep your Terraform state files backed up and secure in the cloud.
When you want to enable locking to prevent multiple people from changing infrastructure at the same time.
When you are working on Google Cloud Platform and want to use its storage service for Terraform state.
When you want to separate your state files by environment using different storage buckets or prefixes.