Skip to content

jamesbyars/aws-sam-local-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS SAM Local With Java - Vagrant

Running AWS SAM Local in Vagrant with Java example.

Local Development Environment Using Vagrant

Provision the machine

vagrant up

Get shell in VM

vagrant ssh
cd /vagrant

Invocation

Make sure you're in the /vagrant directory

AND

package the app

mvn package

Invoke HelloWorldFunction with data (see template.yml)

echo '{"message": "Hey, are you there?" }' | sam local invoke "HelloWorldFunction"

Releases

No releases published

Packages

No packages published