Migrating from count to for_each

Updating a Terraform manifest to the new for_each loop construct
terraform devops bash