This message was deleted.
# general
s
This message was deleted.
b
hey @acceptable-printer-2467 I'm only going by the code you've posted, but it looks like this might be the issue
privateZoneName: ehPEZone.name
You're building the resource inside an apply, but you're only
awaiting
the
peNicIp
I'd recommend changing to
pulumi.all
and also awaiting the zone as well
I'm a little surprised though, because I'm fairly sure
privateZoneName
should take an input - any thoughts @tall-librarian-49374?
t
What is
ehPEZone
in that snippet?
a
So I’ve just tried that using
pulumi.all
and I receive the same response - I’m pretty sure the issue is the
ip
variable from the
getNetworkInterface
response
@tall-librarian-49374
ehPEZone
is a
PrivateZone
resource
t
a
essentially I’m creating a
PrivateEndpoint
resource which has a NIC automatically created for it - I then need the private IP address of this NIC in order to setup the appropriate records in the
PrivateZone
however, the private IP is not available via the
PrivateEndpoint
resource as the
networkInterfaces
output only has the ID of the created interface with no other properties
t
It looks like
relativeRecordSetName
is the problem
Is it literally
name
?
b
ah good catch, didn't see the backticks there
a
@tall-librarian-49374 you’ve saved me from pulling my hair out mate..completely missed that aswell! Thank you and @billowy-army-68599 🙂