title: Failed to construct REST client
body: <p>I'm trying to use kubernetes-alpha provider in Terraform, but I have  &quot;Failed to construct REST client&quot; error message.
  I'm using tfk8s to convert my yaml file to terraform code.</p>
  <p>I make the seme declaration for the provider than kubernetes, and my kubernetes provider work correctely</p>
  <pre><code>provider &quot;kubernetes-alpha&quot; {
    host                   = &quot;https://${data.google_container_cluster.primary.endpoint}&quot;
    token                  = data.google_client_config.default.access_token
    cluster_ca_certificate = base64decode(data.google_container_cluster.primary.master_auth[0].cluster_ca_certificate)
  }
  
  provider &quot;kubernetes&quot; {
    host                   = &quot;https://${data.google_container_cluster.primary.endpoint}&quot;
    token                  = data.google_client_config.default.access_token
    cluster_ca_certificate = base64decode(data.google_container_cluster.primary.master_auth[0].cluster_ca_certificate)
  }
  </code></pre>
  <pre><code>resource &quot;kubernetes_manifest&quot; &quot;exemple&quot; {
    provider = kubernetes-alpha
    manifest = {
       # result of tfk8s
    }
  }
  
  </code></pre>
  <p><a href="https://i.stack.imgur.com/rJoT9.png" rel="nofollow noreferrer">the error message</a></p>
  <p>somebody can help ?</p>