Control Plane is not found in AKS

I deployed AKS cluster and tried to change the nodesize through terraform. but it was failed due to control plane is not found with some id

It would be useful to see some output from terraform plan or apply so we can see where the error was. Might help to see your TF file as well.