This message was deleted.
# general
s
This message was deleted.
p
So, after a few hours of fiddling, I was able to extract the IP address of the first interface. I'm not sure if this is intended behaviour or not. Please let me know if I should file a bug report for this. Essentially, I had to apply the property I wanted. I couldn't just retrieve them though.
# This results in a key error
result.network_interfaces[0].apply(lambda net: net['networkIp'])
# This successfully retrieves the key
result.network_interfaces[0].apply(lambda net: net.get('networkIp'))
I've only tested this with exports so far. I'll try actually using this output as the input for create addresses in GCP
As an FYI, this solution works for retrieving the required keys. It's a bit odd though... in my opinion.