Rancher2 and EKS

Hello,

I’m trying to connect to an existing Rancher via Terraform with the Rancher2 provider:

provider "rancher2" {
  alias = "admin"
  api_url = var.rancher_url
  token_key = var.rancher_token
  insecure = true
}

But I keep getting:

No api_url

Has anyone got any ideas?

My Rancher is up and at the URL I supply.

Many thanks…