# Penggunaan Terraform Untuk Infrastruktur Skala Kecil

Sumber: <https://github.com/antonbabenko/terraform-best-practices/tree/master/examples/small-terraform>

Contoh ini mengandung kode sebagai ilustrasi dari struktur konfigurasi Terraform untuk infrastruktur berukuran kecil dimana tidak ada dependensi eksternal di dalamnya.

{% hint style="success" %}

* Sangat cocok untuk permulaan dan direstruktur seiring waktu
* Sangat cocok untuk modul sumber daya kecil
* Bagus untuk modul infrastruktur kecil dan linier (Contoh [terraform-aws-atlantis](https://github.com/terraform-aws-modules/terraform-aws-atlantis))
* Bagus untuk sumber daya ukuran kecil (lebih sedikit jumlahnya dari 20-30)
  {% endhint %}

{% hint style="warning" %}
Berkas keadaan tunggal untuk semua sumber daya dapat memperlambat proses bekerja dengan Terraform bila jumlah dari sumber daya terus meningkat (Pertimbangkan untuk menggunakan argumen`-target` untuk membatasi jumlah sumber daya)
{% 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/id/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.
