64 / 75 · 08 Infrastructure as Code Testing · Ephemeral Environments← prev⊞ allnext →☰ Read as one page
12.2Architecture
PR #142 opened
|
+-- Terraform workspace: pr-142
| +-- VPC (isolated)
| +-- RDS (small instance, seeded test data)
| +-- ECS service (app containers)
| +-- S3 buckets (prefixed pr-142-)
| +-- API Gateway (pr-142.preview.example.com)
|
+-- Run full test suite against pr-142.preview.example.com
| +-- Unit tests (already passed in CI)
| +-- Integration tests (real database, real queues)
| +-- E2E browser tests (Playwright against preview URL)
| +-- Security scan (DAST against live endpoints)
|
+-- PR comment with test results + preview URL
|
PR #142 merged
|
+-- terraform workspace select pr-142 && terraform destroy -auto-approve