DEV Community 👩‍💻👨‍💻

Testing nested Stacks in AWS CDK 2

I just wanted to mention that testing nested stacks in AWS CDK v2 is easier than you think.

Check out the source over here https://github.com/loupeen/aws-cdk-nested-stacks-test

Just write a small stack wrapper for your nested stack.
Wrapper

You find more code and tests in the GitHub repository.

Top comments (0)

🌚 Life is too short to browse without dark mode