https://rancher.com/ logo
Title
s

salmon-carpenter-62625

09/09/2022, 12:54 PM
Hello. Any clue why `rancher2_cluster_sync.cluster_sync: make destruction complete after 0s? I need it to wait till real cluster is removed from cloud in my case azure aks. Otherwise after sync completed the terraform remove in my case a cloud_credential then probably this lead to race condition where rancher cluster is removed from rancher ui but stay intact on aks side.
l

little-actor-95014

09/09/2022, 7:52 PM
I don't think Cluster Sync can actually wait for a destruction, it's a dummy resource that seems to only know how to watch for active states in the API. I know for us we've gone to using old fashioned time_sleep's in terraform when cluster_sync wasn't enough