DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Terraform best practices — how to structure your Terraform projects.

4 years ago jackwesleyroper.medium.com
Terraform best practices — how to structure your Terraform projects.

Summary: This is a summary of an article originally published by the source. Read the full original article here →

When starting out with Terraform it’s hard to know what is considered ‘best practice’ in a number of areas. This post is the first in the series which focuses on point 1 in the list, how to structure your Terraform projects. The way you split your Terraform code into files is subjecti ve. For a very simple project it may absolutely be easier to lump everything together in one file and forget about it.

Modules will be tackled in a separate post, for now, just know that they are really just folders that hold config files that are coded in such a way that the code can be re-used.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com