This project demonstrates how to create a simple "Hello World" AWS Lambda function using Golang and deploy it using AWS CDK in Typescript. The Lambda function is invoked via an API Gateway endpoint.
- Nodejs
- AWS CDK
- Go
- Clone the repository:
git clone [email protected]:milavernazza/modak.git cd modak ´´´
- Install the CDK dependencies:
cd cdk-hello-world npm install ´´´
- Build the Golang application:
cd ../hello-world GOOS=linux GOARCH=amd64 go build -0 main main.go ´´´
- Deploy the CDK stack:
cd ../cdk-hello-world cdk deploy ´´´
The project is set up with GitHub Actions to automate the deployment process. Any push to the 'main' branch will trigger the deployment workflow.
This project is licensed under the MIT License.