Building Repeatable, Testable Infrastructure, with HashiCorp Terraform

Invalid data source. Please correct the following errors:
  • The specified Sheet Name (Workshops) was not found. Please try again with the correct one from the following list:\nWindows Server 2019 Microsoft Azure 2 React Microsoft 365 Projektų valdymas Asmeninis efektyvumas Scrum ITIL4F ITIL4P ITIL4L

Course overview:

This workshop will cover the basics of Infrastructure as Code and will then dive deep into what operators should test and how resources can be tested (and verified)

Objectives

The main goal of this workshop is to (re)introduce testing of operations to increase trust from deploy-time onwards.

Target audience

IT Infrastructure engineers and those interested in DevOps practices. If you have worked with Terraform before, many parts of the workshop will “click” faster, if not: no worries!

Technical requirements

Participants will require access to a computer that can run a terminal emulator like PuTTY or Terminal.app. Participants are also encouraged to install HashiCorp Terraform and set up a Git client.

It helps to have a rudimentary understanding of “Infrastructure as Code” (IaC), but I’ll provide a refresher at the beginning of the workshop, to ensure we have the same understanding.

Duration: 1 day

Agenda:

  • Part 1: Introduction
    • What is Infrastructure as Code?
    • Why does codification matter?
    • What does our application look like
  • Part 2: What should we test for
    • Built-in Tests
    • Testing using Terraform Cloud
    • Testing using tools from the broader Terraform ecosystem
    • Testing using OPA
  • Part 3: Next Steps:
    • Automated Testing
    • Hardening your code
    • Homework and additional resources