https://pulumi.com logo
Title
f

fierce-megabyte-1177

09/30/2020, 10:44 AM
Hey all. I'm testing out pulumi and azure-nextgen for the first time. Creating just some simple resources like PIP and NIC. I can't figure out how to reference the PIP to the NIC without using the resource ID /subscription/xxx-xx/etc. Thought maybe the different resources exported the ID in some way? Any pointers?
f

fierce-megabyte-1177

09/30/2020, 11:14 AM
Somewhat.. hehe, this is what I have tried. But I'm met with the message that
PublicIPAddress has no field or method id
Doh
I was having a brain fart obviously,
Id: publicIP.ID()
is the way to go 🙂 Thanks for replying