Run php on AWS lambda with terraform for IaC
This repo is setup to with separate branches for different use cases of running php on lambda.
mainshows a basic event handler lambda triggered by new files put into s3php-viewshows a basic setup for rendering php views and a router for dispatching to the respective view handlerphp-apishows a symfony api project with api gateway{proxy+}route handling requests and symfony handling routing
- terraform cli
- php >=8.0
- composer
- Install php dependencies with
composer install
- Initialize terraform with
cd ./infrastructure && terraform init