How far CDK and Terraform stacks work on AWS Emulator
What happened next
On 11 November 2026, AWS officially released AWS Emulator, a tool that sends AWS SDK and AWS CLI calls to an emulator running locally or in CI, without an AWS account. According to AWS, implemented APIs return the same results as AWS for valid calls and the same errors for invalid ones, while unimplemented APIs fail with HTTP 501. The tool has no extra charge.
The article examines how far infrastructure as code (IaC)[1] tools such as CDK and Terraform work on the emulator. AWS says that support for IaC tools varies by service. The author tested on Windows 11 with Docker: they deployed a CDK stack step by step, built an API with API Gateway, Lambda and DynamoDB and called it, and checked errors, authentication, several running instances and how long state lasts. In the author's test, a CDK deployment finished in 12 to 18 seconds, and 4 of the 27 APIs tried returned 501.
According to the official table, state exists only in memory and disappears when the emulator stops, and the tool is not for production use. It does not test IAM policies, resource policies, KMS key policies or cross-account access, and one emulator works with one region and one account. AWS publishes a fidelity score[2] for each service, shown as passed tests out of total tests.
Discussion
Commenters mostly welcomed the separation between what works locally and what still has to be checked on real AWS. The author replied that they limited the tests to local runs and skipped testing on real AWS for now.
Sources
-
JPQiita JA
【AWS】AWS EmulatorでCDK/Terraformのスタックはどこまで動くか【AWSEmulator】







