Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Terraform ist ein IaC-Tool (Infrastruktur als Code), mit dem Sie Ressourcen und Berechtigungen für Cloud Storage bereitstellen können.
Terraform ist in Cloud Shell integriert und Cloud Shell authentifiziert Terraform automatisch.
Wenn Sie Terraform mit Cloud Storage verwenden, erstellen Sie eine Terraform-Konfigurationsdatei, die Ihre gewünschte Infrastruktur beschreibt. Wenn Sie die Konfiguration anwenden, erstellt Terraform einen Ausführungsplan und führt die Vorgänge aus, die zum Bereitstellen Ihrer Infrastruktur erforderlich sind. Mit Terraform können Sie beispielsweise Storage-Buckets erstellen, Objekte hochladen und den Lebenszyklus dieser Objekte steuern.
Terraform-Ressourcen für Cloud Storage
In der folgenden Tabelle sind die Terraform-Ressourcen aufgeführt, die derzeit für Cloud Storage verfügbar sind. Links zu den Terraform-Konfigurationsbeispielen finden Sie in der Cloud Storage-Dokumentation:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-05 (UTC)."],[],[],null,["# Terraform support for Cloud Storage\n\n[Terraform](https://www.terraform.io/) is an infrastructure-as-code (IaC) tool that\nyou can use to provision resources and permissions for Cloud Storage.\nTerraform is integrated with [Cloud Shell](/shell/docs/using-cloud-shell), and\nCloud Shell automatically authenticates Terraform.\n\nWhen you use Terraform with Cloud Storage, you create a\n[Terraform configuration file](https://developer.hashicorp.com/terraform/language) that describes your\ndesired infrastructure. When you [apply the configuration](https://developer.hashicorp.com/terraform/cli/commands/apply),\nTerraform creates an execution plan and performs the operations needed\nto provision your infrastructure. For example, you can use Terraform to\ncreate storage buckets, upload objects, and control the lifecycle of those\nobjects.\n\nTerraform resources for Cloud Storage\n-------------------------------------\n\nThe following table lists the [Terraform resources](https://developer.hashicorp.com/terraform/language/resources) that\nare currently available for Cloud Storage, with links to\nTerraform configuration samples in Cloud Storage\ndocumentation:\n\nWhat's next\n-----------\n\nComplete the [Terraform quickstart for Cloud Storage](/storage/docs/terraform-create-bucket-upload-object) to\nget a quick understanding of how to provision Cloud Storage resources."]]