This project gets the nuts and bolts of a terraformed serverless example up and running
- Terraform
brew install terraform
- AWS CLI
- Dotnet core
- https://dotnet.microsoft.com/download
dotnet new -i Amazon.Lambda.Templates
dotnet tool install -g Amazon.Lambda.Tools
- jq
brew install jq
- mosquitto (for testing)
brew install mosquitto
- Visual Studio Code
- Terraform
export AWS_PROFILE=<profile>
./init.sh
./deploy.sh
- (OPTIONAL)
./teardown.sh
cd api
dotnet new lambda.EmptyFunction --name <function name>
dotnet sln api.sln add <function name>/src/<function name>/<function name>.csproj
dotnet sln api.sln add <function name>/test/<function name>.Tests/<function name>.Tests.csproj