Terraform modules on AWS are available in the Terraform registry on the AWS Integration and Automation namespace page.
To install the Terraform Amazon ECS on AWS Fargate module, see https://registry.terraform.io/modules/aws-ia/ecs-fargate/aws/latest.