Working with Loops

Learn how to perform repeated tasks using loops.

Overview

When writing configuration, there might be a need to perform some repetitive tasks. We can get this done using the looping mechanisms available in Terraform. Let’s consider a situation when we need to move between different instance sizes.

Get hands-on with 1200+ tech skills courses.