Closed BeneHa closed 1 week ago
Thanks for raising this issue. The error message is returned by service API. So it's service API limitation, which means service API doesn't allow it.
Thanks for raising this issue. The error message is returned by service API. So it's service API limitation, which means service API doesn't allow it.
So if it is an issue with the Azure API, where do I raise an issue about this?
So this issue was a misunderstanding on my part. When you want to create a private Postgres Flexible Server you do not need to configure delegated subnet or private dns zone on the postgres resource. Just skip both parameters and set the private DNS zone on the private endpoint and it works fine.
Is there an existing issue for this?
Community Note
Terraform Version
1.9.1
AzureRM Provider Version
3.110.0
Affected Resource(s)/Data Source(s)
azurerm_postgresql_flexible_server
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Postgres database should be created without public network and without delegated subnet. I want to create it with a private endpoint so I do not need public networking and I also do not need a delegated subnet. If I comment out the private dns zone, create the server and then add the line again and apply again, it works. But this is not a viable approach if I want to create a re-usable module.
Actual Behaviour
Error message see above.
Steps to Reproduce
No response
Important Factoids
No response
References
No response