How to Create a GitHub Actions Workflow to Deploy Terraform Code to Azure

Guillermo Musumeci
8 min readMay 4, 2024

--

In this story, we will create a GitHub Actions workflow to deploy Terraform code in Azure (without using Terraform Cloud).

This involves setting up a CI/CD pipeline that executes directly in our GitHub repository. This setup will handle the initialization, planning, and application of our Terraform code.

--

--

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌