I have an an EKS cluster created with Terraform using aws_eks_cluster and a managed node group using aws_eks_node_group.
I also have certain resources outside AWS, behind a firewall.
I'd like to have Terraform create rules in the firewall to grant the node group members access to those resources.
I don't see a way to get their IP addresses. I expected to be able to say something like aws_eks_node_group.foo.instances.ip but looking at what terraform console tells me about my node group, I see nothing of that nature.
I'm new to Terraform and EKS so I might be completely off track. Is there a way to get those addresses?