Datasource or output for K8s Pod IP

The terraform documentation has no data item for pod IP. How do I get the pod IP out so I can use it as a variable for an argument for another pod? The second pod needs the first pods IP to connect so I need the first pods IP to feed to the second.

Did you try this comand ?

kubectl inspect pod

Thanks but I was looking for a way to do it in terraform.