Terraform is one of the most widely used infrastructure as a code tool in DevOps. This presentation focuses on practices and tooling to improve quality for Terraform-managed IaC workflow.
The presentation includes tips and tricks that I have learned during the last 5 years working with Terraform on a daily basis. We will explore:
Different approaches to Terraform code testing
Terraform code validation
Automated compliance
ABOUT JANIS
Janis Orlovs is a PlatformOps and DevOps @CWISE.eu consultant with more than 13 years experience in the field. He is focused on developer experience and reliability.
LinkedIn: / janisorlovs
GitHub: https://github.com/JanisOrlovs
TIMESTAMPS
0:00 Introduction
2:16 Testing with Terraform
2:22 About me
3:10 Agenda
4:11 State of Infrastructure as A Code Testing
6:27 Why Talk About Terraform?
10:23 Target Architecture
11:06 Standard Terraform Development Process
12:16 Code Linting with pre-commit and tflint
13:51 Pre-Commit and TFLint demo
19:54 Example Pattern
21:16 "Example Pattern" Demo
23:48 Terratest
24:49 Terratest Unit Testing
25:04 Conftest
26:16 OPA Conftest
26:35 OPA Confest Demo
31:53 Discussion. Q&A
TECH EXCELLENCE
Subscribe to our YouTube channel / @techexcellence
Join our Meetup Group https://www.meetup.com/techexcellence
Follow us on LinkedIn / techexcellenceio
Follow us on Twitter / techexcellence_
Join our Discord Community / discord
#terraform #iac #opa #tdd #cicd #devops #devex #techexcellence