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
Смотрите видео Best practices for modularizing a Terraform project | PlatformCon 2023 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Platform Engineering 08 Июнь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,931 раз и оно понравилось 84 людям.