Open MarkGee-imdex opened 2 years ago
Azure API endpoints in the Web provider are notoriously bad about error messages. Often, you can see a deeper error in the activity logs of your resources (e.g. open your resource group and navigate to activity logs after you faced the error).
What happened?
I've setup a dotnet pulumi project using Azure Native to define resources. The Pulumi CLI has been working fine up until recently when I tried to create a WebAppSlot in Azure using Pulumi.AzureNative.Web.V20210301.WebAppSlot.
Sample Csharp code is here: CreateNewWebSlot_csharp_code.txt
The Pulumi review is successful but the pulumi up fails with "Code="Failed" Message="The async operation failed." The CLI output is here:
The Debug output can be found here: out.txt
I would love to know what I'm doing wrong as there is little to indicate the actual issue. Can you please help. Thanks. .
Steps to reproduce
Expected Behavior
After the review (which comes back as 'create'), when choosing to Update and create this resource in Azure, it is done so successfully.
Actual Behavior
The Update in Pulumi CLI fails with the error: Code="Failed" Message="The async operation failed."
Versions used
out.txt
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).