> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Terraform-Anbieter

> Verwalten Sie Devin-Ressourcen mit dem offiziellen Terraform-Anbieter als Infrastructure as Code

Mit dem offiziellen Terraform-Anbieter für Devin können Sie Devin-Ressourcen als Infrastructure as Code verwalten. Der Anbieter unterstützt API-Ressourcen der Version v3, darunter Organisationen, Git-Berechtigungen, Playbooks, Knowledge-Hinweise, Secrets, Zeitpläne, IP-Zugriffslisten und IdP-Gruppenrollenzuordnungen.

```hcl theme={null}
terraform {
  required_providers {
    devin = {
      source = "registry.terraform.io/cognitionai/devin"
    }
  }
}

provider "devin" {
  # Das Token wird standardmäßig aus der Umgebungsvariable DEVIN_TOKEN gelesen.
}

resource "devin_knowledge_note" "conventions" {
  org_id  = "org-abc123"
  name    = "API Conventions"
  body    = file("knowledge/api-conventions.md")
  trigger = "When working on API endpoints"
}
```

Der Anbieter authentifiziert sich über die Umgebungsvariable `DEVIN_TOKEN` mit den Anmeldedaten eines Service-Benutzers (Präfix `cog_`). Informationen zur Einrichtung finden Sie unter [Authentifizierung](/de/api-reference/authentication).

<div id="learn-more">
  ## Weitere Informationen
</div>

<CardGroup cols={2}>
  <Card title="Terraform Registry" icon="cube" href="https://registry.terraform.io/providers/cognitionai/devin/latest/docs">
    Vollständige Dokumentation zum Anbieter: Konfiguration, Ressourcen und Datenquellen.
  </Card>

  <Card title="GitHub-Repository" icon="github" href="https://github.com/CognitionAI/terraform-provider-devin">
    Quellcode des Anbieters.
  </Card>
</CardGroup>
