To create a CI/CD pipeline that will build our image and execute the Terraform code, we can use all the tools that we discussed in detail in Chapter 6, Continuous Integration and Continuous Delivery.
In this chapter, to visualize the pipeline, we will use Azure Pipelines, which is one of the previously detailed tools. It is advisable to carefully read the Using Azure Pipelines section of Chapter 6, Continuous Integration and Continuous Delivery. For this reason, we will not detail all the stages of the pipeline, but only those relevant to our container subject.
To implement the CI/CD pipeline in Azure Pipelines, we will proceed with these steps:
- We'll create a new build definition whose Source ...