Menu

Post image 1
Post image 2
1 / 2
0

CI/CD for Terraform on GCP: Plan on Pull Request, Apply with Approval, No Static Keys

DEV Community·Abraham Naiborhu·21 days ago
#oYXCjbqg
#terraform#github#why#fullscreen#enter#exit
Reading 0:00
15s threshold

Hi guys, so, this will be my last lab. In the previous labs, I used Terraform from my local machine. The workflow was simple: local terminal -> terraform plan -> terraform apply Enter fullscreen mode Exit fullscreen mode That worked for learning, but it is not how I want to manage infrastructure changes in a more professional setup. For this lab, I wanted to move Terraform execution into GitHub Actions. The target workflow is: Pull Request -> terraform fmt -> terraform validate -> terraform plan Manual Approval -> terraform apply Enter fullscreen mode Exit fullscreen mode The main goal is not only automation. The main goal is infrastructure change control.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More