/Terraform-Project-Structure

Structure your Terraform files in an efficient and standardized way that makes it easier to scale your projects in the future.

Primary LanguageHCL

How To Structure Terraform Project (3 Levels)

terraform apply --auto-approve
terraform destroy --auto-approve

v1

./tf.sh apply
./tf.sh destroy

v2

upgrade in terraform

v3

Each module will be hosted in a separate repository with a tag. Over time, this approach will become more complicated. For example, if you have 100 services, you will need to create 100 repositories 🤯