Closed AlexMasson closed 5 months ago
Hi @AlexMasson , we made changes for the fix and deployed the changes as well. I verified by using the bicep file you provided in this issue. The deployment went through successfully. Could you please verify? Thanks.
Hi @chandrod , this is now working, thanks a lot !
Which trigger/binding are you using? All of them
Which language are you using? C#
Expected behavior The bicep deployment should work even after the first deployment.
Actual behavior
An error occurred during the second time I deploy the bicep. The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.
To Reproduce function-aca.txt (change extension to .bicep).
function-aca.bicep
.Logs {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions//resourceGroups/amn-test/providers/Microsoft.Resources/deployments/function-aca","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions//resourceGroups/amn-test/providers/Microsoft.Web/sites/amntest-funcapp","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"message":"Operation Failed. Please try again "}]}]}}
Additional context I use the samples given here without success : https://github.com/Azure/azure-functions-on-container-apps/blob/main/samples/Biceptemplates/MI_VNET_sample/README.md.
👍 If I remove the User Assigned Identity completely, the deployment works. But.. I need this one !