/azure-devops-terraform-scaffold

Scaffold Terraform for Azure using Azure DevOps YAML pipelines 🚀

Primary LanguageShell

Azure DevOps Pipelines Terraform Scaffold 🚀

This repository helps you to get started with Terraform on Azure using Azure Pipelines in proper way!

Feel free to clone or use as template

Requirements

To run the scaffold you need:

  • Azure subscription
  • Azure DevOps organization and (empty) project
  • Git client and IDE will be useful ;)

How To?

I tried to make it as simple as possible to properly run Terraform in Azure DevOps YAML pipeline.

  1. Clone / Import the repo (preferably Azure Repos)

  2. Setup Service connections to Azure Resource Manager using service principal authentication Azure DevOps Service Connection

  3. Setup variables

  4. (optional) add your Terraform files

  5. Run

Pipeline variables

todo

Terraform apply approval

todo