# Beispiele für Code-Strukturen

## Terraform-Code Strukturen

{% hint style="info" %}
Diese Beispiele zeigen den AWS-Anbieter, aber die meisten der in den Beispielen gezeigten Prinzipien können auch auf andere öffentliche Cloud-Anbieter und andere Arten von Anbietern (DNS, Datenbanken, Monitoring usw.) angewendet werden.
{% endhint %}

| Typ                                                                        | Beschreibung                                                                                                                                                                      | Einsatzbereitschaft |
| -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| [klein](/de/examples/terraform/small-size-infrastructure.md)               | Wenige Ressourcen, keine externen Abhängigkeiten. Ein AWS-Konto. Eine Region. Eine Umgebung.                                                                                      | Ja                  |
| [mittel](/de/examples/terraform/medium-size-infrastructure.md)             | Mehrere AWS-Konten und Umgebungen, handelsübliche Infrastrukturmodule mit Terraform.                                                                                              | Ja                  |
| [groß](/de/examples/terraform/large-size-infrastructure-with-terraform.md) | Viele AWS-Konten, viele Regionen. Dringender Bedarf, Copy-Paste zu reduzieren, benutzerdefinierte Infrastrukturmodule, starke Nutzung von Compositions. Verwendung von Terraform. | In Arbeit           |
| sehr groß                                                                  | Mehrere Anbieter (AWS, GCP, Azure). Multi-Cloud-Einsatz. Verwendung von Terraform.                                                                                                | Nein                |

## Terragrunt-Code Strukturen

| Typ       | Beschreibung                                                                                                                                                                                                                                                                                                                                   | Einsatzbereitschaft |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| mittel    | Mehrere AWS-Konten und Umgebungen, handelsübliche Infrastrukturmodule, Kompositionsmuster mit Terragrunt.                                                                                                                                                                                                                                      | Nein                |
| groß      | <p>Many AWS accounts, many regions, urgent need to reduce copy-paste, custom infrastructure modules, heavy usage of compositions. Using Terragrunt.<br>Viele AWS-Konten, viele Regionen. Dringender Bedarf, Copy-Paste zu reduzieren, benutzerdefinierte Infrastrukturmodule, starke Nutzung von Kompositionen. Verwendung von Terragrunt.</p> | Nein                |
| sehr groß | Mehrere Anbieter (AWS, GCP, Azure). Multi-Cloud-Einsätze. Verwendung von Terragrunt.                                                                                                                                                                                                                                                           | Nein                |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.terraform-best-practices.com/de/examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
