Slide 1

Slide 1 text

Modules, Loops and More: How to Scale with Terraform Scott McAllister Principal Developer Advocate

Slide 2

Slide 2 text

The Pain @stmcallister

Slide 3

Slide 3 text

Infrastructure as Code Fast Consistent Reduce Errors Self documenting Fast @stmcallister

Slide 4

Slide 4 text

© ngrok. All rights reserved. Confidential Information of ngrok

Slide 5

Slide 5 text

The Pain @stmcallister

Slide 6

Slide 6 text

Modules @stmcallister

Slide 7

Slide 7 text

Modules @stmcallister

Slide 8

Slide 8 text

Loops @stmcallister

Slide 9

Slide 9 text

Loops count Terraform’s oldest, simplest, most limited looping construct. for_each Loop over lists, sets, maps. Result is a map of resources for expressions creates a complex type value by transforming another complex type value for string directive String directives allow to use control statements within strings @stmcallister

Slide 10

Slide 10 text

Resources Terraform: Up & Running Yevgeniy Brikman https://www.terraformupandrunning.com/ @stmcallister

Slide 11

Slide 11 text

Resources Scaling with Terraform Sample Code https://github.com/stmcallister/scaling-with-terraform @stmcallister

Slide 12

Slide 12 text

© ngrok. All rights reserved. Confidential Information of ngrok WANNA WIN? SPEAKER FEEDBACK

Slide 13

Slide 13 text

Scott McAllister Speaker, Writer, Coder @stmcallister stmcallister.github.io @stmcallister.bsky.social techhub.social/@stmcallister

Slide 14

Slide 14 text

Thank you

Slide 15

Slide 15 text

No content