This sample shows how to create a lambda function and expose it through an API Gateway that creates a CORS enabled response.
- A valid LocalStack for AWS license. Your license provides a
LOCALSTACK_AUTH_TOKEN. - Docker
localstackCLIawslocalCLI- Terraform
makeandjq
export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make start
make readymake init
make deploy
make test
Use tfswitch or tfenv to install the required provider version