---
title: "Discussion on \"Managing Repetitive Infrastructure with for_each and count in Terraform\" | Hashnode"
description: "Discussion on \"Managing Repetitive Infrastructure with for_each and count in Terraform\". As the infrastructure grows in complexity, the need to deploy multiple instances of the same resource becomes imminent. Terraform offers two looping techniques, for_each and count, to tackle this. In this blog post, we explore how these techniques ca..."
url: "https://hashnode.com/posts/managing-repetitive-terraform/64c9a260420dc3c6a861a802"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Managing Repetitive Infrastructure with for\_each and count in Terraform](https://afrazmomin.com/managing-repetitive-terraform?utm_source=hashnode&utm_medium=feed)

As the infrastructure grows in complexity, the need to deploy multiple instances of the same resource becomes imminent. Terraform offers two looping techniques, for\_each and count, to tackle this. In this blog post, we explore how these techniques ca...

Dec 7, 2022 · 3 min read · afrazmomin.com  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Afraz Momin](https://hashnode.com/@afrazmomin)

@afrazmomin · Germany

  
[View profile](https://hashnode.com/@afrazmomin)

Software Developer, building apps, exploring the Cloud and writing tech blogs

Aspiring Polyglot, learning and getting better each day.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
