~/talk

Testing Terraform AWS Modules in Drone CI Pipelines with Localstack

Talkat HashiConf Europe 2022 · 2022-06-20..06-22· [testing]
linkedin:jimsheldonnh
slides:none on file

Shows how running Terraform module tests inside Drone CI against LocalStack replaces real AWS for an AWS networking module (VPC, public/private subnets, NAT gateway, EIP), using both the experimental Terraform test command and Terratest (Go). LocalStack runs tests in about 40 seconds vs highly variable real-AWS runs measured across seven runs, demonstrates a deliberate failing tag assertion, and confirms Terraform apply/destroy happens against LocalStack while Terratest prints verbose apply output and terraform test reports concise failures.

AI-written summary · about

  1. 0:00Start
  2. 1:29Goals
  3. 2:45Teratest
  4. 8:18Drone Yaml Pipeline Configuration
  5. 9:01Terraform Test
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.