Ephemeral Cloud Infrastructure for Acceptance Tests with Terraform Enterprise & GitLab
summary
Pluralsight Platform Engineering builds .NET and Node shared libraries and proves them by spinning ephemeral EC2/Kubernetes/Lambda environments via Terraform Enterprise triggered from GitLab, with logic in Makefiles and shell wrappers. Pipeline runs three parallel acceptance jobs (demo shows zero failed tests) and uses a static Terraform scope to create an AM user and inject credentials into TFE workspaces. Remote runs apply in ~3 minutes; Lambda VPC security group destroys can take up to 45 minutes so SGs move to the static scope as a workaround.
AI-written summary · about
chapters (8)
- 0:00Introduction and team
- 3:39Problem and solution overview
- 7:11Terraform directory structure
- 10:45Makefile and helper scripts
- 14:44GitLab CI/CD pipeline
- 18:15Live pipeline demonstration
- 24:34Challenges and solutions
- 28:25Closing and contact
related talks
23mFully SaaS-Based DevOps with Terraform Cloud and GitLab
52mTest Driven Delivery of Infrastructure-As-Code
27mAdvanced Multipurpose Infrastructure: A Self-Managed Cloud Environment with HashiCorp Terraform
22mDeploying and Managing AWS Lambda With GitLab CI and Terraform
35mTesting in Infrastructure as Code
31mCommodified IaC using Terraform Cloud
26mOn-demand Test Infrastructure on ECS as code
14mInfrastructure as Code IaC
