Thursday, August 4, 2022

Serverless React, AWS Lambda and API Gateway example

Here is small terraform example how you can create serverless React app that will use AWS API Gateway which will call AWS Lambda

API Gateway is proxying GET request to lambda. Lambda will simply return "Hello World". 


Actual terraform infrastructure definition. This terraform definition include CORS configuration.


Lambda which that will return "Hello World".

No comments:

Post a Comment