How to create multiple ecs instance in different availability tone via terraform code

Could anyone let me know how to create multiple EC2 instances in different availability zones via terraform