Skip to playerSkip to main contentSkip to footer
  • yesterday
Follow this link to Join Terraform WhatsApp community:
https://chat.whatsapp.com/DPmJzH59u0r...

👋 Hello, everyone! Welcome to Naresh i Technologies.

In today’s session, we will discuss one of the most commonly used and important features in Terraform — the count argument. This feature allows you to create multiple similar resources like servers, IAM users, and more, with just a few lines of code!

🧠 Key Takeaways:

✅ What is the count argument in Terraform?
✅ How to use it to create multiple identical resources
✅ What happens if you want different configurations?
✅ Important exam tips related to count

🔔 Stay tuned till the end for a must-know exam tip!

📌Follow this link to Join Offical WhatsApp community: https://whatsapp.com/channel/0029Va4W...

📺 Subscribe on YouTube: https: @nareshit
📱 Follow on Instagram: @nareshitech

📌 Don’t forget to like, share, and subscribe for more DevOps and cloud content.

#Terraform #DevOps #CloudComputing #InfrastructureAsCode #NareshIT #TerraformTutorial #TerraformCount

Category

📚
Learning
Transcript
00:00Hello guys, welcome to Narisha Technologies. In today's video, I'm going to talk about what is
00:05the count argument in the Terraform. Let's say I want to create multiple resources that can be
00:11servers, that can be IAM users or that can be any other resources. So by default Terraform is going
00:16to have an argument called count. The major purpose of using count is to create similar
00:20objects. Let's say as per the code here you can go and see if I give count is equal to 3. Now
00:26Terraform is going to create all the three servers with same configuration. But the note
00:30point you need to understand is if you want to create three servers with a different configuration,
00:35Terraform cannot able to create. Okay, so in examination point of view, you might get this
00:41question as the one of the most first and foremost starting of the examination itself. Thank you.

Recommended