Need support for multiple aws_ecs_service and aws_ecs_task_definition

Hello,

i am looking for some example to add multiple ECS Services which will refer to respective task definitions and container definitions using - for_each loop.

Can you please help ? Redirecting me to any specific example ?

Thank you!