postgresql_flexible_server_virtual_endpoint_resource
incorrectly sets Replica Server ID
#27453
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
1.9.0
AzureRM Provider Version
4.3.0
Affected Resource(s)/Data Source(s)
postgresql_flexible_server_virtual_endpoint_resource
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No changes should be detected after initial creation
Actual Behaviour
Resources deploy correctly, however the Replica Server ID changes on the endpoint on second run due to the way it is derived from the Source Server within the provider.
The Virtual Endpoint presumes the replica server is in the same RG as the source server, which is not always the case.
Steps to Reproduce
Deploy resources, then immediately deploy them again.
Important Factoids
No response
References
terraform-provider-azurerm/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go
Lines 162 to 164 in 22b75ed
The text was updated successfully, but these errors were encountered: