Here are my more detailed posts...
-
Terraform: Creating multiple resources with iteration
Different ways to use terraform to create multiple resources of the same type.
Different ways to use terraform to create multiple resources of the same type.