繁体   English   中英

Azure 管道发布管道:ARM 模板部署:资源组 scope 失败,错误代码:部署失败”

[英]Azure pipeline Release pipeline: ARM Template deployment: Resource Group scope fails with ,,Error code: DeploymentFailed"

ARM 模板似乎没问题,没有出现验证错误,并且似乎定义了变量,不知道我应该如何调试这个奇怪的错误消息。

2023-01-25T16:46:49.4710207Z ==============================================================================
2023-01-25T16:46:49.4710434Z Task         : ARM template deployment
2023-01-25T16:46:49.4710576Z Description  : Deploy an Azure Resource Manager (ARM) template to all the deployment scopes
2023-01-25T16:46:49.4710814Z Version      : 3.210.1
2023-01-25T16:46:49.4710932Z Author       : Microsoft Corporation
2023-01-25T16:46:49.4711075Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment
2023-01-25T16:46:49.4711307Z ==============================================================================
2023-01-25T16:46:49.6711981Z ARM Service Connection deployment scope - Subscription
2023-01-25T16:46:49.6897349Z Checking if the following resource group exists: APP-RG-DEV-NE.
2023-01-25T16:46:49.9703739Z Resource group exists: true.
2023-01-25T16:46:49.9707493Z Creating deployment parameters.
2023-01-25T16:46:50.7941256Z Starting template validation.
2023-01-25T16:46:50.8120966Z Deployment name is azuredeploy-20230125-164650-9976
2023-01-25T16:46:55.8082119Z Template deployment validation was completed successfully.
2023-01-25T16:46:55.8082485Z Starting Deployment.
2023-01-25T16:46:55.8083063Z Deployment name is azuredeploy-20230125-164650-9976
2023-01-25T16:48:05.5609488Z There were errors in your deployment. Error code: DeploymentFailed.
2023-01-25T16:48:05.5641699Z ##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
2023-01-25T16:48:05.5651004Z ##[error]Details:
2023-01-25T16:48:05.5651895Z ##[error]BadRequest: 
2023-01-25T16:48:05.5652688Z ##[error]BadRequest: 
2023-01-25T16:48:05.5653453Z ##[error]BadRequest: 
2023-01-25T16:48:05.5654221Z ##[error]BadRequest: 
2023-01-25T16:48:05.5654988Z ##[error]BadRequest: 
2023-01-25T16:48:05.5656695Z ##[error]Check out the troubleshooting guide to see if your issue is addressed: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops#troubleshooting
2023-01-25T16:48:05.5658246Z ##[error]Task failed while creating or updating the template deployment.
2023-01-25T16:48:05.5682468Z ##[section]Finishing: ARM Template deployment: Resource Group scope
```

好的,找到了这个问题,这是非常愚蠢的,不知道为什么错误消息对名称违规没有更清楚的说明。

密钥保管库的秘密名称中包含一个点 (.),因此失败。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM