Automate Cloudflare with Terraform and GitHub Actions! – Terraform Tutorial for Beginners



Automate Cloudflare with Terraform and GitHub Actions! – Terraform Tutorial for Beginners

Automate Cloudflare with Terraform and GitHub Actions! - Terraform Tutorial for Beginners

Terraform is a powerful infrastructure as code tool to help you create and manage infrastructure across multiple public or private clouds. It can help you provision, configure, and manage infrastructure using their simple and human readable configuration language. Using Terraform helps you automate your infrastructure and your DevOps workflow, do it consistently, and allows you to collaborate with teams in Git. Today, we’re going to set up and configure Terraform on your machine so we can start using Terraform. Then we’ll configure cf-terraforming to import our Cloudflare state and configuration into Terraform. After that we’ll set up a GitHub report and configure GitHub actions so you have CI and CD for deploying your Infrastructure automatically using a Git Flow. If you’re new to Terraform, that’s fine! This is a beginner tutorial for Terraform and by the end of this, you will feel like an expert!

★ Subscribe! https://l.technotim.live/subscribe
★ I’m Live on Twitch https://l.technotim.live/twitch
★ Get Help in Our Discord Community! https://l.technotim.live/discord
★ Subscribe to Techno Tim Talks! https://l.technotim.live/subscribe-ttt
★ Documentation found here https://l.technotim.live/docs
__________________________________________

⚙ Gear Recommendations ⚙
► https://l.technotim.live/gear

(Affiliate links may be included in this description. I may receive a small commission at no cost to you.)
__________________________________________

♦ Patreon https://l.technotim.live/patreon
♦ GitHub https://l.technotim.live/github
♦ Twitch https://l.technotim.live/twitch
♦ Twitter https://l.technotim.live/twitter
♦ Discord https://l.technotim.live/discord
♦ Instagram https://l.technotim.live/instagram
♦ Facebook https://l.technotim.live/facebook
♦ TikTok https://l.technotim.live/tiktok
__________________________________________

#terraform #cloudflare #github

00:00 – What is Terraform and what are the benefits of Terraform?
01:15 – How to Automate Cloudflare with Terraform
03:19 – How to Install Terraform
03:59 – How to Initialize a new Terraform projects
04:38 – Terraform Providers
05:54 – Cloudflare Provider for Terraform
08:35 – Getting an API Token from Cloudflare
10:55 – Terraform Plan & Terraform Apply
12:18 – Importing Cloudflare State to Terraform
14:54 – Import State using cf-terraforming
17:16 – Configuring Terraform Cloud for your Terraform State
20:43 – CI / CD with Terraform
21:32 – Create a new GitHub Repo
21:59 – Import Project into GitHub with Git
24:34 – Adding GitHub Action for Terraform
27:22 – Adding Terraform Secret to GitHub Action
28:55 – Pull Request Workflow with CI / CD and Terraform
33:16 – What do I think about Terraform?
34:23 – Stream Highlight – “I’m done clicking buttons!”

Thank you for watching!