Closed bgagnon closed 3 years ago
For reference, support for external
cloud provider was added in #364 and resolved #319
Submitted PR #681 to fix this issue
PR https://github.com/rancher/terraform-provider-rancher2/pull/681 is already merged. The fix will be included on next tf provider release.
Please, reopen issue if needed
Assuming this starting Terraform resource:
transitioning to:
the Terraform plan is as expected, clearing every field in
rke_config.cloud_provider.openstack_config
:After the operation however, the API object on the Rancher side still contains the unmodified
openstack_cloud_provider
contents.A subsequent
terraform plan
shows the exact same changes (exceptcloud_provider.name
which sticks), creating an infinite loop.Editing the cluster YAML from the Rancher UI is the only way I have found to strip the unwanted
openstack_cloud_provider
attribute block. Even so, it merely replaces the values by their default; the object sticks around.gz#17326