English 中文(简体)
根据工作量特性联合会,利用地形以及服务联系
原标题:Using terraform along with service connection based on workload identity federation

我试图执行Terraform的任务,即“计划”和“应用”从Devops管道向Devops管道部署资源,根据工作量特性联合会提供服务。 在根据工作量特性联合会管理新服务环节之后,我发现以下错误:

“entergraph

我在此过程中采取的步骤:

  1. create spn
  2. give spn, role assignment "Reader" role over management group scope
  3. created federated credentials and configured issuer and subject identifier
  4. created service connection based on workload identity federation (manual) based on spn
  5. run pipeline under new service connection
问题回答

从地形构造任务的标志来看,你似乎正在利用延期任务:

试验梯田式任务版本 页: 1

“entergraph

这是任务版本中已知的问题。 0. 参照这一票:>[error] Terra append initialization for RM 仅支持服务的主要授权

为了解决这一问题,你需要改变任务版本的使用。 1. 然后,它将工作。

例如:

“entergraph

steps:
- task:TerraformCLI@1
  displayName:  terraform plan 
  inputs:
    command: plan
    environmentServiceName: kevin1010
    allowTelemetryCollection: false

或者,你也可以改变使用Microsoft DevLabs的延期任务:Terraform





相关问题
Team foundation server in the cloud?

We have been using TFS on our own server for a while. We would like to move it in the cloud. Is there any good hosted service? Note: we would like to import all our source and projects

热门标签