Azure devops release pipeline creation using terraform - azure

I have to create release pipeline in azure devops using terraform. I am able to create build pipeline in azure devops using terraform but for release pipeline I am not getting any resource. Can anyone help me in this? Is there any way we can create release pipelines using terraform in azure devops.

Currently Terraform provider for Azure DevOps doesn't support release pipelines. 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

Did you see this instruction?
https://azuredevopslabs.com/labs/vstsextend/terraform/
I know that terraform has two stages:
terraform plan & terraform apply
Seems to me you are missing the terraform apply stage which is covered quite nicely in Exercise 3

Related

How to show pipeline on Gitlab-managed Terraform state UI?

I am trying out Gitlab-managed Terraform state, I managed to deploy my infrastructure with Gitlab CI/CD pipeline, but the UI is not showing the pipeline that deployed the infrastructure.
I also enable deployment environment by the environment keyword
I am running an on-premise installation of Gitlab at v15.8.0. I wrote my own .gitlab-ci.yml. Am I missing something in the pipeline that causes this bug?
I tried out the steps as described in the official documentation on Terraform MR integration. It worked as intended, but it is not relevent to the managed Terraform state UI.

Azure Synapse Analytics - CI/CD workspace and infrastructure - Design question

I have an Azure Repos project with IaC code and ci/cd yaml pipelines to set up Azure Synapse infrastructure. Can you recommend what is right approach when I integrate the workspace to connect to git? Should I create a new project in Azure Repos for the Synapse artifacts or should I use the same repository as the infrastructure project?
I will be setting up ci/cd pipelines to deploy the azure synapse artifacts as well.
Thanks!
Here's an answer to a similar question I posted:
You'll want to follow Microsoft's guide on CI/CD with Synapse. This is a great walkthrough video for the process.
Work in your development environment and commit to your collaboration branch.
A pipeline triggers off of your workspace_publish branch, releasing your code to your next environment (preferably with an approval gate)
Continue releasing the same code to higher environments, again with approval gates.
For Azure DevOps, you can use variable groups to parameterize your pipeline. Also make sure to read through the custom parameters section on that link to parameterize parts of the template that are not parameterized by default.

Azure DevOps Pipeline configuration for Dynamic 365

Need help in designing CI/CD pipeline for deploying the Dynamic-365 solution in different environment.
Present set up CI/CD configuration:
we have 4 BU’s, where each BU has separated Azure DevOps project pipeline to deploy the solution in different environment.
Build pipeline is designed to export solution from dev environment and push the artifact in to azure repo.
Release pipeline is designed to import solution and publish the solution in destination environment.
I am looking for one master pipeline design which will help us in deploying the all 4 BU’s solution but it has to deploy in different environment for all 4 BU’s. Is this possible? How can I design such a pipeline? or else any other pipeline configuration which help up in achieving this?

How to deploy Azure resources using GitLab Pipelines?

I want to deploy Azure Resources using GitLab pipelines. resources e.g. Resource Group, storage account, etc. using ARM/Powershell stored in GitLab CI and using GitLab pipelines how can I deploy any Azure resources?
You've to setup gitlab-ci.yml and use it in CI / CD on GitLab.
Please follow this video tutorial from Azure DevOps explaining the process.
This tutorial covers all the steps you mentioned from 1-5.

Start ARM template deploy conditionally in Azure Devops

My source code is on GitHub.
I have an Azure Devops pipeline set up to build and deploy the application to an Azure subscription.
I also have the full azure environment defined in ARM templates.
I'd like to run the template deployment only when a specific folder changes in my GitHub repo.
Path triggers are only for Azure Devops repos.
Other possible solutions I investigated, but there is no clear documentation on how to achieve this exactly:
Custom condition on build or release task.
Pre-deployment conditions. Maybe artifact filters?
Pre-deployment Gates?
The ARM template deployment is idempotent, I know, but it takes a several long minutes to run even if there was no infrastructure change and I'd like to avoid that time wasted on every build.
Sounds like you have a single pipeline for both the infrastructure and application code. I have separate pipelines for each, one for infrastructure as code and other builds/pipelines for applications, NuGet package creation, etc. Perhaps split the pipeline and have the application deployment trigger after and separately from the infrastructure deployment pipeline. That way the application build and deployment can run in a more frequent cycle.

Resources