Last active
November 26, 2020 10:30
-
-
Save azole/ede6df134bb9ec67bbdfdda48c0201fd to your computer and use it in GitHub Desktop.
original serverless.yml
This file contains 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: app | |
provider: | |
name: aws | |
region: ap-northeast-1 # 改成自己想要部署的 region | |
runtime: provided.al2 | |
plugins: | |
- ./vendor/bref/bref | |
functions: | |
api: | |
handler: index.php | |
description: '' | |
timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds) | |
layers: | |
- ${bref:layer.php-74-fpm} | |
events: | |
- httpApi: '*' | |
# Exclude files from deployment | |
package: | |
exclude: | |
- 'node_modules/**' | |
- 'tests/**' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment