Hi all,
I have an issue with memory when I try to run “serverless deploy” in vagrant
I attached my error,
And this is my configuration:
service: test
provider:
name: aws
region: ap-southeast-1
stage: staging
runtime: provided
plugins:
# We need to include the Bref plugin
- ./vendor/bref/bref
package:
exclude:
- node_modules/**
- public/storage
- resources/assets/**
- storage/**
- tests/**
functions:
# This function runs the Laravel website/API
web:
handler: public/index.php
layers:
- ${bref:layer.php-74-fpm}
events:
- http: 'ANY /'
- http: 'ANY /{proxy+}'
# This function lets us run artisan commands in Lambda
artisan:
handler: artisan
timeout: 120 # in seconds
layers:
- ${bref:layer.php-74} # PHP
- ${bref:layer.console} # The "console" layer
Anyone got this issue before ??