Introduction
Sometimes you want to create many copies of the same resource without writing each one by hand. Terraform's count feature lets you do this easily by telling it how many copies to make.
When you want to launch several virtual machines with the same settings.
When you need multiple storage buckets that are similar but separate.
When you want to create many network rules that follow the same pattern.
When you want to test scaling by adding more instances quickly.
When you want to manage a group of similar resources without repeating code.