Feb. 20, 2024, 5:12 p.m. | Tom Harvey

DEV Community dev.to

CDK is a great way to setup your infrastructure, but all too often you deploy your new services and then need to go "click", "click", "click". But, we're all developers who like automated tests, and hate click-ops.


Here, I will show you how to build an AWS Lambda service and use the command line to run an automated test which will:



  1. Deploy the service (in 3 regions concurrently!)

  2. Invoke the lambda

  3. Assert that the response matches what you expect

  4. Destroy …

app automated aws cdk click cloud deploy developers development infrastructure integration ops python services setup show testing tests will

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead Data Engineer

@ WorkMoney | New York City, United States - Remote