Is there an easy way to bootstrap registration?

I’d like to be able to template EKS clusters, and have the automagically register with Rancher. This process is mostly there with the Terraform provider, but I’m wondering if there is another way? Specifically, I’m experimenting with using eksctl/flux to bootstrap clusters, but need some way to automate the registration to Rancher. Any ideas? (Searching didn’t seem to provide anything)

you could use the rnacher api to create a new cluster (or use a existing one), get the register token with needed roles to install.
We created our own ansible playbook to install, configure Rancher App and our production cluster.