I have a question. In my case, I need to retrieve the IP addresses of my workloads using nslookup (I have a DNS entry that resolves to all the workload IPs), and then add those IPs to a security group in Terraform to allow access to my RDS database. Do you have any suggestions on how to automate this?