This repo contains a collection of examples, patterns and other AWS projects built with CDK and OpenTofu.
To get started, the following dependencies need to be installed:
All additional dependencies required for each tutorial and pattern are managed and available through Devbox. If you'd rather not use Devbox, you can manually install the dependencies found in each project, also defined in the devbox.json file under the "packages" section.
In this repo, the following resources are available:
- hello-lambda - first AWS CDK app based on the offical documentation, with enhancements and a Rust implementation
- tofu-lambda - example of building the first CDK app using OpenTofu and Rust
- apigw-http-lambda-documentdb - pattern demonstrating how to expose a REST API with API Gateway, process requests using Lambda, and persist data in DocumentDB
- scheduled-data-summary-export - pattern for ingesting JSON data via an API endpoint, persisting it to a datastore, and generating weekly summary files with item counts, stored in S3
Feel free to open any issues on pull requests!
