Best practices for modularizing a Terraform project | PlatformCon 2023

Published: 08 June 2023
on channel: Platform Engineering
3,931
84

In this talk, I will share Terraform best practices to optimize Infrastructure as code. Using real-world examples from my experience using Terraform, I will explore common challenges and anti-patterns by providing practical strategies to overcome them.

Terraform is a popular tool for managing Infrastructure as code. Therefore, it's essential to consider modularizing your Terraform code to make it more organized, maintainable, and scalable. I will explore some best practices for modularizing a Terraform project in this talk.

We'll start by discussing the importance of defining a clear project structure that reflects the logical components of your infrastructure and explore Terraform anti-patterns by providing best practices for avoiding them.

We'll then dive into using modules to encapsulate resources. I will also cover the use of variables to parameterize your code and make it more flexible, as well as the use of outputs to expose values to other modules.

Speaker: Vjosa Fusha
System Reliability Engineer, Moss

_____________
Check all the PlatformCon talks: https://platformcon.com/talks
Check all the PlatformCon tracks: https://platformcon.com/#conference-t...
Join Platform Engineering Slack: https://platformengineering.org/slack-rd

#PlatformCon2023 #PlatformEngineering


Watch video Best practices for modularizing a Terraform project | PlatformCon 2023 online without registration, duration hours minute second in high quality. This video was added by user Platform Engineering 08 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,931 once and liked it 84 people.