rancher / terraform-provider-rancher2

Terraform Rancher2 provider
https://www.terraform.io/docs/providers/rancher2/
Mozilla Public License 2.0
253 stars 216 forks source link

Documentation for a cluster creation with a cluster driver #1332

Open sgmv opened 3 months ago

sgmv commented 3 months ago

Hello, I would like to create a rancher cluster in GKE with terraform.

Basically, I can do it in the UI. Just choose Create a cluster in a hosted Kubernetes provider.

image

But I can't find any examples, how to do it via terraform.

I've checked schema_cluster_v2.go and I didn't find anything about cluster driver.

So, the main question. Is it possible to create a GCP cluster with the default cluster driver? If yes, where I can find any examples?