Tuesday, October 26, 2021

GitHub Action Pipelines - Deploying Terraform

Terraform is an infrastructure automation tool which enable reliable and repeatable resource deployment in cloud environments. GitHub actions becoming a popular choice of CI/CD for most of the source code repos used in GitHub.

Let's look at how to setup a GitHub action pipeline to deploy Azure resource using Terraform script.

Pre-requisites:

  • Terraform workspace
  • Terraform API Token
  • GitHub account
  • Azure subscription

Let's add secret values which we going to use in action pipeline.