# AWS Emulator Catches Terraform Apply Failures That Plan Misses

Original title: Testing Terraform with AWS Emulator

> Hacker News story 50599309 · language: en · submitted 2026-11-22
> Web version: https://zeli.app/story/50599309
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 46 · by [meysamazad](<https://news.ycombinator.com/user?id=meysamazad>) · 💬 5
[original](<https://notes.hatedabamboo.me/terraform-tests-with-aws-emulator/>) · [HN discussion](<https://news.ycombinator.com/item?id=50599309>)

## Summary

Terraform plan can pass while apply fails on real AWS API constraints, like a DynamoDB table name that's too short. AWS's new Emulator runs a self-contained local or CI endpoint that mimics AWS APIs, so you can apply against it before touching production. I tested it locally and in a GitHub Actions pipeline; it caught a deliberately broken resource in about 1m25s. It still lacks IAM policy checks and returns 501 for some services.

## Key quote

> The exact issue that arises only against actual API calls and not during a plan job. For scenarios exactly like this, the emulator is priceless.

---

## Cite

- Page: https://zeli.app/story/50599309
- Date: 2026-11-22
- Source: notes.hatedabamboo.me (https://notes.hatedabamboo.me/terraform-tests-with-aws-emulator/)
- Hacker News: https://news.ycombinator.com/item?id=50599309

## Other languages

- zh: https://zeli.app/zh/story/50599309 · markdown: https://zeli.app/zh/story/50599309.md
- ja: https://zeli.app/ja/story/50599309 · markdown: https://zeli.app/ja/story/50599309.md
- ko: https://zeli.app/ko/story/50599309 · markdown: https://zeli.app/ko/story/50599309.md
- de: https://zeli.app/de/story/50599309 · markdown: https://zeli.app/de/story/50599309.md
- es: https://zeli.app/es/story/50599309 · markdown: https://zeli.app/es/story/50599309.md
- ru: https://zeli.app/ru/story/50599309 · markdown: https://zeli.app/ru/story/50599309.md
