stratospheric-dev / stratospheric

All you need to know to get your Spring Boot application into production with AWS 🍃
https://stratospheric.dev
Apache License 2.0
262 stars 187 forks source link

create DynamoDb table with the AWS CDK #123

Closed rieckpil closed 2 years ago

rieckpil commented 2 years ago

We currently create the Dynamo DB table with an initializer during our Spring Boot application launch.

To separate the application from any infrastructure creation concerns, I'd suggest using the AWS CDK for this approach.

I've prepared the required changes and tested everything locally & on my current recording branch in eu-west-1.

Furthermore, would suggest making the tracing process async so that storing the trace doesn't block the index page from being rendered.

If you think that makes sense, I'll adjust the manuscript for it.