Is there anyway to pass data between terraform projects?

I have a terraform project, which will create an aks cluster, vnet and two separate subnets.

The first subnet will be used by AKS cluster.

The second subnet id, we need to pass as variable to another terraform project.

How to pass data like that?

Merging both to a single project is not feasible.

Also, second project will be applied only after terraform apply completed for first project

Terraform can read the state (outputs) of another terraform deployment.
Additionally vaults or parameter stores can be used to share specific information between those deployments.