Skip to content

kazootkr/aws-lambda-php-sam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

aws-lambda-php-sam

aws lambda + php + sam-cli

事前に必要なもの

使い方

Installing dependencies & building the target

In this example we use the built-in sam build to build a docker image from a Dockerfile and then copy the source of your application inside the Docker image.
Read more about SAM Build here

Local development

Invoking function locally through local API Gateway

sam build
sam local start-api

Packaging and deployment

To deploy your application for the first time, run the following in your shell:

sam deploy --guided

Testing

準備中

TODO

  • sam buildでphp実行コンテナをビルドできるように
  • composer.json を用意してコンテナビルド内でcomposer installするように
  • phpunitを用意する
  • codebuildでデプロイできるように

参考資料

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages