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

[BUG] 3.2.0 version, docs for harvester provider are still showing that config in machine_selector_config is a map #1284

Open gregkonush opened 6 months ago

gregkonush commented 6 months ago

Rancher Server Setup

Information about the Cluster

User Information

Provider Information

Describe the bug

rancher_cluster_v2 -> rke_config -> machine_pools -> machine_selector_config -> config is listed as a string in version 3.2.0 but docs have outdated information on how to use selector when it was a map. There is no workaround for specifying the correct selector as config is a string. Work around that I tried is to create custom EOF to pass yaml file but it doesn't work

To Reproduce

Create k3s cluster with terraforming against harvester cloud provider as specified in docs

Actual Result

Terraform plan fails after timeout

Expected Result

k3s cluster created from Terraform with harvester cloud provider

sebastian-racs-itk commented 6 months ago

I observed the same with rancher2_cluster_v2 after upgrading Rancher to v2.7 and wanting to upgrade this provider to v3.2.0 Going back to v3.1.1 it works as expected