-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue retrieving dynamically generated ip address from private endpoint resource #3245
Comments
Hi @sfc-gh-raram thanks for getting in touch.
|
Hi @danielrbradley . I am using the pulumi provider It will be difficult to upgrade the provider version due to the current set up, so I may not be able to answer your second question. I will work on enabling verbose logging, and let you know. |
I also tested it in |
@danielrbradley Is my way of getting the ip address from the private endpoint correct? I also tried using the custom config struct field and attempted to get it through the private dns zone, but no luck.
|
Thanks for the extra info @sfc-gh-raram Recapping what we know:
Does that look correct? When you look at the state, do you see these properties in the outputs (run You could also look at what the ARM template looks like for the resource in the Azure portal as that should match the shape of the Pulumi resource properties. |
What happened?
Hi team. I'm working on creating a private endpoint, private dns zone, and A records that use the ip address from the private endpoint using the pulumi azure sdk for go. I'm running into a strange issue where I am unable to retrieve the ip address of the private endpoint despite it being created and being able to see it in the Azure console.
I'm attempting to get the ip address through the NetworkInteraces field, which in turn I get the IP configurations field from. However, this leads to a index out of bounds error since the network interface does not have any ip configuration. I find this bizarre since I can see it in the console. I also tried getting the ip address through the custom dns config field, however that is empty. I also tried getting it through the privatednszonegroup but the ip configuration were also empty.
I consulted the below two issues raised previously, but they did not help unfortunately. I would appreciate any help on this issue, thank you.
#2830
#1707
Example
Output of
pulumi about
Pulumi version: v3.74.0
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: