我在使用 CI/CD 管道在指定环境中部署 ADF 项目时遇到问题。
我正在使用 Azure DevOps。 我正在使用发布管道,当新的构建可用时触发(主分支上的每个经过验证的 PR 都会触发新的构建)。 管道只有一个阶段:暂存。 我正在使用连接 ADLS 帐户的托管专用端点。这给我带来了一些问题。
我在部署到临时环境时遇到以下错误,
InvalidResourceRequest: Invalid resource request. Resource type:
'ManagedPrivateEndpoint', Resource name: 'XXX-YYY'
'Error: A managed private endpoint to the data source already exist.'
我知道托管端点已经存在,但我们在部署到临时环境时不能覆盖或跳过它。
最佳答案
了解最佳实践 CI CD ADF
If a private endpoint already exists in a factory and you try to deploy an ARM template that contains a private endpoint with the same name but with modified properties, the deployment will fail.
关于Azure 开发运营 : Data Factory Pipeline: A managed private endpoint to the data source already exist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71034150/