Open dtu-ruth opened 4 weeks ago
Hi @dtu-ruth, thanks for reporting.
I can reproduce this issue. Per my testing, the IP address will only be shown if its allocation method is Static
. For Dynamic
ones, they will not be shown. ( even if it's shown, depending on a dynamic IP address might not be a good idea )
If the resource was created by Terraform, specifying the private_ip_address
will turn the allocation method to static.
For any further questions please leave comments. Thanks
Is there an existing issue for this?
Community Note
Terraform Version
1.6.6
AzureRM Provider Version
3.108.0
Affected Resource(s)/Data Source(s)
azurerm_private_link_service
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
That private_ip_address is fetched and visible.
Actual Behaviour
private_ip_address is providing a null value.
Steps to Reproduce
Create a private link service, and then modify the given terraform configuration files and do a terraform plan.
Important Factoids
No response
References
No response