Skip to content

Extremely minimal skeleton of a dotnet serverless API which can be deployed using Terraform (HCL) or CDKTF (TS)

Notifications You must be signed in to change notification settings

Mubashwer/hello-world-serverless-api

Repository files navigation

hello-world-serverless-api

This is an extremely minimal skeleton of a dotnet serverless API which can be deployed using Terraform (HCL) or CDKTF (TS).

  • adapted from ASP.NET Core Minimal API Serverless Application AWS template
  • uses AWS Lambda exposed through Amazon API Gateway
  • Written for learning CDKTF

Prequisites

Build

dotnet build --configuration Release

Deploy using TF (HCL)

cd infra-tf
terraform init
terraform plan
terraform apply --auto-approve

Deploy using CDKTF (TS)

cd infra-cdktf
npm install
cdktf diff
cdktf deploy --auto-approve

About

Extremely minimal skeleton of a dotnet serverless API which can be deployed using Terraform (HCL) or CDKTF (TS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published