简体   繁体   English

Azure 使用 terraform 创建 devops 发布管道

[英]Azure devops release pipeline creation using terraform

I have to create release pipeline in azure devops using terraform.我必须使用 terraform 在 azure devops 中创建发布管道。 I am able to create build pipeline in azure devops using terraform but for release pipeline I am not getting any resource.我可以使用 terraform 在 azure devops 中创建构建管道,但对于发布管道,我没有获得任何资源。 Can anyone help me in this?任何人都可以帮助我吗? Is there any way we can create release pipelines using terraform in azure devops.有什么方法可以在 azure devops 中使用 terraform 创建发布管道。

Did you see this instruction?你看到这个指令了吗? https://azuredevopslabs.com/labs/vstsextend/terraform/ https://azuredevopslabs.com/labs/vstsextend/terraform/

I know that terraform has two stages: terraform plan & terraform apply我知道 terraform 有两个阶段:terraform plan & terraform apply

Seems to me you are missing the terraform apply stage which is covered quite nicely in Exercise 3在我看来,您缺少 terraform 应用阶段,该阶段在练习 3 中得到了很好的介绍

Currently Terraform provider for Azure DevOps doesn't support release pipelines.目前 Azure DevOps 的 Terraform 提供程序不支持发布管道。 There is a PR to add this functionality, but it's WIP and hasn't been merged yet: https://github.com/microsoft/terraform-provider-azuredevops/pull/178有一个 PR 可以添加此功能,但它是WIP ,尚未合并: https://github.com/microsoft/terraform-provider-azuredevops/pull/178

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

相关问题 Azure DevOps 动态发布管道创建 - Azure DevOps dynamic Release Pipeline creation 如何在发布管道中的 Azure DevOps 中输出 terraform 输出文件 - How to output terraform output file in Azure DevOps in release pipeline Azure DevOps 发布管道 - Azure Devops Release Pipeline 有没有办法使用 Azure Devops 将 yaml 构建管道转换为发布管道? - Is there a way to translate a yaml build pipeline to a release pipeline using Azure Devops? Azure Devops-发布流水线 - Azure Devops-release pipeline Azure DevOps 版本 - terraform 导入失败,并显示“使用服务主体进行身份验证” - Azure DevOps Release - terraform import fails with 'Authenticate using a Service Principal' 通过 azure devops 中的管道将 terraform 部署到 azure - Deploy terraform to azure through a pipeline in azure devops Docker Https 与 Azure Key Vault 使用 DevOps 发布管道 - Docker Https With Azure Key Vault using DevOps Release Pipeline 使用来自 DevOps 发布管道的多个变量标记 Azure 资源 - Tag an Azure Resource using multiple variables from a DevOps Release Pipeline 如何使用 Azure DevOps REST API 运行构建/发布管道 - How to run build/release pipeline using Azure DevOps REST API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM