Terraform is an infrastructure-as-code (IaC) tool that you can use to provision resources and permissions for Cloud Storage. Terraform is integrated with Cloud Shell, and Cloud Shell automatically authenticates Terraform.
When you use Terraform with Cloud Storage, you create a Terraform configuration file that describes your desired infrastructure. When you apply the configuration, Terraform creates an execution plan and performs the operations needed to provision your infrastructure. For example, you can use Terraform to create storage buckets, upload objects, and control the lifecycle of those objects.
Terraform resources for Cloud Storage
The following table lists the Terraform resources that are currently available for Cloud Storage, with links to Terraform configuration samples in Cloud Storage documentation:
What's next
Complete the Terraform quickstart for Cloud Storage to get a quick understanding of how to provision Cloud Storage resources.