From 8efd790207ffe2feaf311b41fca9640b0695e3b1 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Tue, 28 Jan 2020 11:44:49 +0100 Subject: [PATCH] Restore proper serverless.yml config following beta release --- serverless.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/serverless.yml b/serverless.yml index 14c91d7a3..e2221cbf3 100644 --- a/serverless.yml +++ b/serverless.yml @@ -26,7 +26,7 @@ functions: handler: demo/function.php description: 'Bref CLI demo' layers: - - 'arn:aws:lambda:us-east-2:416566615250:layer:php-74:13' + - ${bref:layer.php-74} environment: BREF_LOOP_MAX: 100 @@ -36,7 +36,7 @@ functions: timeout: 5 # in seconds (API Gateway has a timeout of 29 seconds) memory: 1024 layers: - - 'arn:aws:lambda:us-east-2:416566615250:layer:php-74-fpm:13' + - ${bref:layer.php-74-fpm} events: - http: 'ANY /' @@ -46,7 +46,7 @@ functions: timeout: 5 # in seconds (API Gateway has a timeout of 29 seconds) memory: 1024 layers: - - 'arn:aws:lambda:us-east-2:416566615250:layer:php-74:13' + - ${bref:layer.php-74} events: - http: 'ANY /psr7' environment: @@ -56,5 +56,5 @@ functions: handler: demo/console.php description: 'Bref console command demo' layers: - - 'arn:aws:lambda:us-east-2:416566615250:layer:php-74:13' - - 'arn:aws:lambda:us-east-2:416566615250:layer:console:36' + - ${bref:layer.php-74} + - ${bref:layer.console}