Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

MechanicalRock/RustLambda-AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and Deploy To AWS

To build and deploy the Rust program, simply run the following command in your terminal bash build-deploy.sh

Once the deployment succeeds, take notice of the outputs section in your cli and note down the name of the lambda function that has just been created in your account. You will need this to send test events to the newly created lambda from your cli.

Test Lambda Function

Open the test-event.sh script and replace <your_lambda_function_name> with the name of your lambda function as noted in the Build and Deploy section above. Once that is done, you can now send a test event to the lambda using the following command: bash test-event.sh

If the event is successfully processed, output that resembles the one shown below will be stored in a filed called output.json

   {
   "message":"Hi Leon Ticharwa , welcome to rust in the cloud!",
   "request_id":"xxxx-xxx-xxx-xxxx"
   }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published