bland-pharmacist-96854
11/27/2024, 5:42 PMdeleteBeforeReplace
. The problem is that Azure API returns that the resource has been deleted and pulumi tries to recreate it, but, sometimes the resources take more time to delete and the following create operation fails. Looks like Azure API is kind of inconsistent...microscopic-arm-69377
11/27/2024, 6:24 PMadventurous-butcher-54166
11/28/2024, 10:27 AMadventurous-butcher-54166
11/28/2024, 10:31 AMbland-pharmacist-96854
11/28/2024, 10:32 AMadventurous-butcher-54166
11/28/2024, 10:33 AMpg_dump
/ pg_restore
?adventurous-butcher-54166
11/28/2024, 10:34 AMbland-pharmacist-96854
11/28/2024, 10:35 AMadventurous-butcher-54166
11/28/2024, 10:38 AMbland-pharmacist-96854
11/28/2024, 10:38 AMadventurous-butcher-54166
11/28/2024, 10:49 AMresource_name
and not server_name
) and then create a CNAME alias in a public DNS zone pointing to the server. Then your developers would use the same endpoint but your Pulumi program would just update the CNAME record. If SSL validation works for your DB client that could be an option.
Another option would be to use a private endpoint with a custom DNS prefix that would be reused across the deleted and new server. Not sure if you'll hit similar limitations when releasing the private endpoint before the new server can use it.bland-pharmacist-96854
11/28/2024, 10:49 AMadventurous-butcher-54166
11/28/2024, 10:51 AMbland-pharmacist-96854
11/28/2024, 10:52 AMbland-pharmacist-96854
11/28/2024, 10:53 AMverify-ca
instead of verify-full
but I think i prefer to just let the pulumi deployment fail and retry N times via the k8s cronjobadventurous-butcher-54166
11/28/2024, 10:57 AMbland-pharmacist-96854
11/28/2024, 10:58 AMbland-pharmacist-96854
11/28/2024, 10:58 AMadventurous-butcher-54166
11/28/2024, 11:02 AMdbforpostgresql
provider than many other services.