# Terraform көмегімен шағын өлшемді инфрақұрылым

Дереккөз: <https://github.com/antonbabenko/terraform-best-practices/tree/master/examples/small-terraform>

Бұл мысал сыртқы тәуелділіктер қолданылмаған, шағын өлшемді инфрақұрылымға арналған Terraform конфигурацияларын құрылымдау мысалы ретінде кодты қамтиды.

{% 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/kk/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.
