If two resources depend on each other and both change (not creation) is the order guaranteed?

I have two resources aws_eks_cluster and aws_eks_node_group , the aws_eks_node_group depends on aws_eks_cluster and when created they are created in order.

But is the same ordering guaranteed when doing changes?

I mean if I change version in both, I want to be assured that the aws_eks_cluster will be modified first and the version upgrade to be completed before aws_eks_node_group version upgrade is started.

So far, it seems that that it’s the case.

I just updated version = "1.18" on both aws_eks_cluster.main and aws_eks_node_group.eks-nodes and it seems to modify aws_eks_cluster first and then aws_eks_node_group