Skip to content

kangkyu/lambda_microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda_microservices

Use AWS Lambda as microservice, and build event-driven structure.

Install terraform https://developer.hashicorp.com/terraform/install

terraform init
AWS_PROFILE=admin terraform apply

Put your profile name in place of 'admin'.

Try ('yglb9j7tna' part will be different)

export BASE_URL='https://yglb9j7tna.execute-api.us-west-2.amazonaws.com/lambda'
curl "$BASE_URL/translate" -X POST -d '{"translate_id": "abc"}'

After trying, do not forget to run terraform destroy

AWS_PROFILE=admin terraform destroy

About

Translate service written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published