millions-journalist-34868
12/01/2024, 1:19 AMPUT <https://management.azure.com/subscriptions/******-****-***-****/resourceGroups/rg-test-dev/providers/Microsoft.Web/staticSites/stapp-test-dev/linkedBackends/wapp-test-dev?api-version=2024-04-01>
Authorization: Bearer *******
Content-type: application/json
{
"properties": {
"/subscriptions/****-*****-****/resourceGroups/rg-test-dev/providers/Microsoft.Web/sites/wapp-test-dev",
"region": "West Europe"
}
When I do the same thing using Pulumi (I intentionnaly hard coded the values), it does not :
var staticSiteLinkedBackend = new Pulumi.AzureNative.Web.V20240401.StaticSiteLinkedBackend("stapp-test-dev-an-e352ae82", new()
{
BackendResourceId= "/subscriptions/****-*****-****/resourceGroups/rg-test-dev/providers/Microsoft.Web/sites/wapp-test-dev",
LinkedBackendName = "wapp-test-dev",
Name = "stapp-test-dev",
ResourceGroupName = "rg-test-dev",
});
The pulumi up fails with a 500 internal Server Error / ERROR CODE UNAVAILABLE
Anyone can help me with the matter?melodic-tomato-39005
12/02/2024, 6:51 AMpulumi up
with --logtostderr --logflow -v*=9*
(see here) we can see the request that Pulumi sends to Azure, and compare it to the successful one using the API directly.
You can look for HTTP Request Begin
in the output.millions-journalist-34868
12/02/2024, 5:24 PMmillions-journalist-34868
12/05/2024, 11:54 PMmelodic-tomato-39005
12/06/2024, 6:13 AMmillions-journalist-34868
12/06/2024, 11:41 AMmillions-journalist-34868
12/09/2024, 9:54 PM