Fishing for good ideas.
I'm trying to deploy a pair of VPN endpoints in 2 public clouds: GCP and Azure. In configuration of each, there is a dependency on public ip generated on the other side. It would be perhaps easy if i had 1 file and kept it all in one state, but for compliance reasons, I keep it as separate terraform manifests and separate states. So far I have tried various things: conditional count on existence of data source, or for_each iterating through IP addresses from the data source. Failed in both. Do you have any good ideas how to approach this problem?