Output K8s pod IP

I would like to output the IP of a pod I created in terraform so I can use it as an environment variable in another pod. The documentation doesn’t seem to have that as a datasource. How can I do this?

1 Like