Reader small image

You're reading from  Architecting AWS with Terraform

Product typeBook
Published inDec 2023
PublisherPackt
ISBN-139781803248561
Edition1st Edition
Right arrow
Author (1)
Erol Kavas
Erol Kavas
author image
Erol Kavas

Erol Kavas has worked in the IT industry for more than 20 years, with 10 years dedicated to infrastructure, the cloud, and DevOps. He has helped many Canadian and US enterprises and governments to build their cloud foundations and embark upon their containerization and Kubernetes journeys. He is fully certified on AWS, Azure, Google Cloud Platform, and Kubernetes in all disciplines. He is a partner and chief consultant in a DevOps and cloud consulting firm that helps Canadian and US start-ups in their cloud and DevOps journeys. He is also a Microsoft Certified Trainer (MCT) regional lead for Canada and trains many new cloud professionals at CloudCamp.
Read more about Erol Kavas

Right arrow

How to implement best practices with Terraform AWS modules

When working with AWS infrastructure, it’s important to follow best practices to ensure a reliable, scalable, and secure environment. Terraform AWS modules provide a way to implement these best practices efficiently and consistently across different environments. In this section, we will explore some of the best practices for using Terraform AWS modules and how to implement them in your infrastructure. We’ll cover topics such as module organization, naming conventions, versioning, and more.

Terraform configurations file separation

Storing all Terraform code in a single file such as main.tf can make it challenging to read and maintain the code. A better approach is to split the code across multiple files, each dedicated to a specific purpose or resource. This not only makes the code more organized but also easier to troubleshoot and update in the future:

  • main.tf: This file calls modules, locals, and...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Architecting AWS with Terraform
Published in: Dec 2023Publisher: PacktISBN-13: 9781803248561

Author (1)

author image
Erol Kavas

Erol Kavas has worked in the IT industry for more than 20 years, with 10 years dedicated to infrastructure, the cloud, and DevOps. He has helped many Canadian and US enterprises and governments to build their cloud foundations and embark upon their containerization and Kubernetes journeys. He is fully certified on AWS, Azure, Google Cloud Platform, and Kubernetes in all disciplines. He is a partner and chief consultant in a DevOps and cloud consulting firm that helps Canadian and US start-ups in their cloud and DevOps journeys. He is also a Microsoft Certified Trainer (MCT) regional lead for Canada and trains many new cloud professionals at CloudCamp.
Read more about Erol Kavas