You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining a cluster using Rancher-launched Kubernetes on Openstack, my terraform plan always shows changes to the openstack_cloud_provider sub-objects that I haven't explicitly defined in my TF code.
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ rancher2_cluster.cluster
rke_config.0.cloud_provider.0.openstack_cloud_provider.0.block_storage.#: "1" => "0"
rke_config.0.cloud_provider.0.openstack_cloud_provider.0.metadata.#: "1" => "0"
rke_config.0.cloud_provider.0.openstack_cloud_provider.0.route.#: "1" => "0"
rke_config.0.network.0.weave_network_provider.#: "1" => "0"
To workaround this, I have to add empty objects to the TF code but this should really be handled by the provider.
@davidarcher, i could reproduce this behaviour if block_storage, metadata, route and/or load_balancer are not specified in cloud_provider - openstack_cloud_provider, but not in the network section, this is working fine for me...
When defining a cluster using Rancher-launched Kubernetes on Openstack, my terraform plan always shows changes to the openstack_cloud_provider sub-objects that I haven't explicitly defined in my TF code.
To workaround this, I have to add empty objects to the TF code but this should really be handled by the provider.
The text was updated successfully, but these errors were encountered: