# Rancher2 and EKS

**URL:** https://forums.suse.com/t/rancher2-and-eks/17647
**Category:** SUSE Rancher Prime
**Created:** [June 4, 2020, 8:31pm UTC](https://forums.suse.com/t/rancher2-and-eks/17647 "2020-06-04T20:31:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![johnmorsley](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/johnmorsley/32/5960_2.png) [@johnmorsley](https://forums.suse.com/u/johnmorsley)
#### Post date: [June 4, 2020, 8:31pm UTC](https://forums.suse.com/t/rancher2-and-eks/17647/1 "2020-06-04T20:31:35Z")

</div>

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…
