Build and Test GCP Infrastructure Using Terraform Modules
summary
Shows how a reusable Terraform module for GCP (bucket, VM, service account, network) is packaged, versioned and consumed from local or GitHub sources, and how tests run with kitchen-terraform driving Terraform and inspec-gcp (InSpec) asserting cloud state. Demo creates a storage bucket, runs verify checks for existence and versioning, then flips a test to produce one success and one failure, proving tests catch regressions and CI-friendly create/verify/destroy lifecycle works.
AI-written summary · about
chapters (14)
- 0:00Introduction to talk
- 1:02What is Terraform
- 3:10Sample GCP architecture
- 5:16Terraform modules benefits
- 7:03Terraform module structure
- 8:07Using Terraform modules
- 10:56Reusing modules across envs
- 11:37Terraform Registry overview
- 12:20Lego-style infrastructure
- 14:04Testing Terraform modules
- 15:30Kitchen lifecycle
- 16:33Module documentation
- 19:47Live demo of testing
- 22:40Q&A session
related talks
21mSelf‑service infrastructure for GCP with Terraform and GitLab
29mDeploying CI/CD Infrastructure with Terraform and Packer
37mCreating Terraform Modules to Deploy GKE
36mBuild infrastructure as a code (IaC) using test-later...
39mAutomating Immutable Infrastructure With Packer & Terraform
42mHands-on with the Terraform Module for AWS Landing Zone
14mHow Global Discovery tribe approaches Infrastructure Changes at scale
26mManage your GitLab Projects with Terraform
