Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 971 Bytes

small-size-infrastructure.md

File metadata and controls

16 lines (12 loc) · 971 Bytes

Small-size infrastructure with Terraform

Source: https://github.com/antonbabenko/terraform-best-practices/tree/master/examples/small-terraform

This example contains code as an example of structuring Terraform configurations for a small-size infrastructure, where no external dependencies are used.

{% hint style="success" %}

  • Perfect to get started and refactor as you go
  • Perfect for small resource modules
  • Good for small and linear infrastructure modules (eg, terraform-aws-atlantis)
  • Good for a small number of resources (fewer than 20-30) {% endhint %}

{% hint style="warning" %} Single state file for all resources can make the process of working with Terraform slow if the number of resources is growing (consider using an argument -target to limit the number of resources) {% endhint %}