How to create a Kubernetes cluster using Fargate?

I am looking for documentation or code that would show how to use Terraform to create a Kubernetes cluster using Fargate.

If anyone has done this and can share sample code, it would be greatly appreciated.

Have you seen terraform-aws-eks/examples/fargate at master · terraform-aws-modules/terraform-aws-eks · GitHub