Closed bpoland closed 3 months ago
Hey @bpoland
Thanks for raising this, well spotted as Agent Tokens and Queues cannot be moved between Clusters.
Hey @bpoland We've now released v1.10.2 which contains fixes to ensure the the Cluster Agent Tokens and Queues Resources are recreated if the Cluster ID changes rather than erroring out. Let us know if that fixes what you experienced!
Hey @bpoland We've now released v1.10.2 which contains fixes to ensure the the Cluster Agent Tokens and Queues Resources are recreated if the Cluster ID changes rather than erroring out. Let us know if that fixes what you experienced!
Thanks that looks great! Just confirmed with a local plan that this is working for me:
~ cluster_id = "old" -> "new" # forces replacement
Describe the bug When trying to change the cluster of a
cluster_agent_token
orcluster_queue
resource, I get the following error consistently:I was able to work around by manually tainting the resource and having terraform delete and recreate in the new cluster.
To Reproduce Steps to reproduce the behavior:
Expected behavior Given the UI does not provide a way to move either of these things between clusters, I suspect the provider should just understand that it needs to delete and recreate them on its own and show that in the plan.