# Infraestructura de tamaño pequeño con Terraform

Fuente: [h<mark style="color:purple;">ttps://github.com/antonbabenko/terraform-best-practices/tree/master/examples/small-terraform</mark>](https://github.com/antonbabenko/terraform-best-practices/tree/master/examples/small-terraform)

La presente integra código como ejemplo de la estructuración de la configuración para una infraestructura de tamaño pequeño, en donde no son utilizadas dependencias externas.

{% hint style="success" %}

* Perfecta para comenzar y refactorizar a medida que avanzas.
* Perfecta para módulos de recurso pequeños.
* Bueno para módulos de infraestructura pequeños y lineares (por ejemplo, [<mark style="color:purple;">terraform-aws-atlantis</mark>](https://github.com/terraform-aws-modules/terraform-aws-atlantis)).
* Bueno para un número pequeño de recursos (menos de 20 o 30).
  {% endhint %}

{% hint style="warning" %}
Contar con un sólo archivo de estado para todos los recursos puede hacer lento el proceso de trabajo con Terraform si el número de recursos está creciendo (considerar el uso del argumento `-target` para limitar el número de recursos).
{% 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/es/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.
