Created
May 28, 2020 05:08
-
-
Save ridwanbejo/e4bbdc8b581428fd9da1db385015ff6c to your computer and use it in GitHub Desktop.
bref-pokemon-api serverless.yml definition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: bref-pokemon-api | |
provider: | |
name: aws | |
region: us-east-1 | |
runtime: provided | |
plugins: | |
- ./vendor/bref/bref | |
package: | |
exclude: | |
- node_modules/** | |
- public/storage | |
- resources/assets/** | |
- storage/framework/** | |
- storage/logs/** | |
- tests/** | |
functions: | |
website: | |
handler: public/index.php | |
timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds) | |
layers: | |
- ${bref:layer.php-73-fpm} | |
events: | |
- http: 'ANY /' | |
- http: 'ANY /{proxy+}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment