Terraform-Count-ForEach Terraform Example with Count and ForEach Usage To create Multiple AWS resources with different set of configurations - like using Count & ForEach together How to use Please refer this article.