Open ltlg opened 5 months ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub. Please see https://aka.ms/biceptypesinfo for troubleshooting help.
Can confirm that this happens to me as well. It makes failover groups unable to be updated programmatically.
Status Message: The property targetServer of the read-only endpoint must be a valid server present among the partnerServers configured for the failover group. (Code:FailoverGroupCreateOrUpdateRequestInvalidReadOnlyEndpointTargetServer)
Hi,
I setup a very basic sql failover group. The very first round of running bicep runs as expectd. Without any changes, the 2nd round fails.
Errors like below:
"code":"FailoverGroupCreateOrUpdateRequestInvalidReadOnlyEndpointTargetServer","message":"The property targetServer of the read-only endpoint must be a valid server present among the partner Servers configured for the failover group."
Others report the same issues on stackoverflow. The solution the put on does not work for me. https://stackoverflow.com/questions/78337117/azure-sql-failover-group-fails-on-second-run
Thanks .
Bicep version run
bicep --version
via the Bicep CLI,az bicep version
via the AZ CLI or via VS code by navigating to the extensions tab and searching for BicepDescribe the bug A clear and concise description of what the bug is vs what you expected to happen
To Reproduce Steps to reproduce the behavior:
Additional context Add any other context about the problem here.