Menu

Post image 1
Post image 2
1 / 2
0

Terraform File Structures

DEV Community·Brian Mengo·23 days ago
#CgvsufiZ
Reading 0:00
15s threshold

Introduction Today we focus on file structure and organising Terraform projects. Initially all resources were placed in a single main.tf file to simplify the learning process. What we are doing now is to improve the project structure by splitting resources and configurations into multiple files for better readability, collaboration and maintainablity. The root directory of a Terraform project is called the root module. Terraform File Loading There is no strict mandatory naming convention for Terraform files.recommendations come from HashiCorp best practices but are flexible.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More