# მცირე ზომის ინფრასტრუქტურა Terraform-ით

წყარო: <https://github.com/antonbabenko/terraform-best-practices/tree/master/examples/small-terraform>

ეს Terraform კოდის სტრუქტურის მაგალითი განკუთვნილია მცირე ზომის ინფრასტრუქტურისთვის რომელიც იყენებს შემდეგ კომპონენტებს:

მაგალითი შეიცავს კოდს, როგორც Terraform-ის კონფიგურაციის სტრუქტურირების მაგალითს მცირე ზომის ინფრასტრუქტურისთვის, სადაც არ არის გამოყენებული გარე დამოკიდებულებები(Dependencies).

{% hint style="success" %}

* შესანიშნავია დასაწყებად და რეფაქტირებისთვის
* შესანიშნავია მცირე რესურსის მოდულებისთვის
* კარგია მცირე და ხაზოვანი ინფრასტრუქტურის მოდულებისთვის (მაგალითად [terraform-aws-atlantis](https://github.com/terraform-aws-modules/terraform-aws-atlantis))
* კარგია მცირე რაოდენობის რესურსებისთვის (20-30-ზე ნაკლები)
  {% endhint %}

{% hint style="warning" %}
ყველა რესურსისთვის საერთო მდგომარეობის(State) ფაილს შეუძლია 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/ka/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.
