Click here to Skip to main content
15,889,462 members
Articles / DevOps

GitOps with Terraform and GitHub

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
20 Jun 2022CPOL7 min read 6.6K   1  
How to write Terraform code to deploy simple Azure infrastructure and explore Git workflow used by software developers to ‘gate’ infrastructure changes to our main branch
This is Part 2 of a 3-part series that demonstrates how to construct a complete end-to-end GitOps working using Terraform plans, GitHub, GitHub Actions, and Azure. In this article, you will see a hands-on tutorial that shows how to take a simple Terraform plan that deploys some simple Azure infrastructure (such as VMs), and commits the code to a GitHub repository. Then, you will learn how to make changes to the code in a fork or branch, commit the changes, and do code review on the changes using a pull request.

This article is a sponsored article. Articles such as these are intended to provide you with information on products and services that we consider useful and of value to developers

Views

Daily Counts

This article is part of the series 'GitOps with Azure, Terraform, and GitHub View All

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Kingdom United Kingdom
Ben is the Principal Developer at a gov.uk and .NET Foundation foundation member. He previously worked for over 9 years as a school teacher, teaching programming and Computer Science. He enjoys making complex topics accessible and practical for busy developers.


Comments and Discussions