Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 874 Bytes

File metadata and controls

16 lines (12 loc) · 874 Bytes

Terraform AWS Lambda Example with API Gateway terraform aws

Just enter the following commands sequentially if you already have an AWS account and did your configure

  • make build
  • make init
  • make plan (Just to see the output)
  • make apply

You can test it via postman or your terminal. After all things are done don't forget to enter the following command to destroy all resources.

curl "$(terraform output -raw base_url)/hello?name=MyName"
  • make destroy