# תשתיות בקנה מידה קטן עם Terraform

מקור: <https://github.com/antonbabenko/terraform-best-practices/tree/master/examples/small-terraform>

דוגמא זו מכילה קוד לבניית קונפיגורציית Terraform עבור תשתית בקנה מידה קטן, שבה לא נעשה שימוש בתלות חיצונית.

{% hint style="success" %}

* מושלם להתחלה ולשיכתוב בהמשך
* מושלם עבור מודולי משאבים קטנים
* מתאים למודולי תשתית קטנים וליניאריים
* טוב למספר קטן של משאבים (פחות מ- 20-30)
  {% endhint %}

{% hint style="warning" %}
קובץ מצב יחיד עבור כל המשאבים יכול להאט את תהליך העבודה עם Terraform אם מספר המשאבים גדל\
(שקול להשתמש בארגומנט - יעד (`target-)` להגבלת מספר המשאבים)
{% endhint %}


---

# 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/he/examples/terraform/small-size-infrastructure.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.
