Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

API Gateway lambda CORS

LocalStack AWS

This sample shows how to create a lambda function and expose it through an API Gateway that creates a CORS enabled response.

Prerequisites

Start LocalStack

export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make start
make ready

Run

make init
make deploy
make test

Notes

Use tfswitch or tfenv to install the required provider version