RKE provider VS rancher 2 provider

Hi,

I am new to terraform.
Now we are planning to use terraform to rebuild our infrastrucure on AWS.
We are running kubernetes clusters managed with rancher on AWS.
We have one k8s cluster that was built with RKE, which also hosts rancher, and a couple of other kubernetes clusters that was created by rancher.

There are two external modules that might be helpful: RKE provider and rancher2 provider.

However, I am not quite clear what are the strengths of these terraform modules, how should I use them together, what would be the best practices.

Has anyone deployed rancher with terraform?

Thanks