Hi@akhtar,
You can find a resource for AWS EKS in Terraform. Terraform has plugins to control eks cluster as well. You can see the below example for fargate profile.
resource "aws_eks_fargate_profile" "example" {
cluster_name = aws_eks_cluster.example.name
fargate_profile_name = "example"
pod_execution_role_arn = aws_iam_role.example.arn
subnet_ids = aws_subnet.example[*].id
selector {
namespace = "example"
}
}