Replies: 1 comment 1 reply
-
The command is missing the region. Try running this instead vendor/bin/bref cli livelync-bref-dev-artisan --region=<your AWS region> -- migrate |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have already updated the .env database parameter based on RDS information (host, port, etc) but still got 500 error.
Also for the console command, I have follow the bref documentation but error 404.
My serverless yml:
functions: # This function runs the Laravel website/API web: handler: public/index.php timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds) layers: - ${bref:layer.php-80-fpm} events: - httpApi: '*' # This function lets us run artisan commands in Lambda artisan: handler: artisan timeout: 120 # in seconds layers: - ${bref:layer.php-80} # PHP - ${bref:layer.console} # The "console" layer
Beta Was this translation helpful? Give feedback.
All reactions