Skip to content

Race condition in ARM template #539

@glahaye

Description

@glahaye

Describe the bug
When deploying the Azure resources from main.bicep / main.json, we hit errors like the following:

ERROR TYPE
Deployment was interrupted and the process running it was terminated unexpectedly, if an ARM template is used, the likely cause is a race condition. To solve the race condition, make all resources that could potentially restart the site (app settings or site config changes for example) have a dependency on MSDeploy resource. For more info please read the information here: http://go.microsoft.com/fwlink/?LinkId=808141 (Code: Failed)

To Reproduce
Deploy CC resources from scratch to Azure using either deploy-azure script or Deploy to Azure button.

Expected behavior
Error-free deployment of resources to Azure

Related: #488 #498

Metadata

Metadata

Labels

bugSomething isn't workingdeploymentIssues related to deploying Chat-Copilot

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions