Skip to content

Commit

Permalink
Switch demo to PHP 8.1 to test new layers
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Oct 20, 2022
1 parent 8978e70 commit 90f3307
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ functions:
handler: demo/function.php
description: 'Bref CLI demo'
layers:
- ${bref:layer.php-82}
- ${bref:layer.php-81}
environment:
BREF_LOOP_MAX: 100

Expand All @@ -34,7 +34,7 @@ functions:
description: 'Bref HTTP demo'
timeout: 5 # in seconds (API Gateway has a timeout of 29 seconds)
layers:
- ${bref:layer.php-82-fpm}
- ${bref:layer.php-81-fpm}
events:
- http: 'ANY /'

Expand All @@ -43,7 +43,7 @@ functions:
description: 'Bref HTTP demo with a PSR-7 handler'
timeout: 5 # in seconds (API Gateway has a timeout of 29 seconds)
layers:
- ${bref:layer.php-82}
- ${bref:layer.php-81}
events:
- http: 'ANY /psr7'
- httpApi: 'GET /psr7'
Expand All @@ -55,7 +55,7 @@ functions:
description: 'Bref HTTP demo'
timeout: 5 # in seconds (API Gateway has a timeout of 29 seconds)
layers:
- ${bref:layer.php-82-fpm}
- ${bref:layer.php-81-fpm}
events:
- httpApi: '*'

Expand All @@ -64,5 +64,5 @@ functions:
description: 'Bref console command demo'
timeout: 900
layers:
- ${bref:layer.php-82}
- ${bref:layer.php-81}
- ${bref:layer.console}

0 comments on commit 90f3307

Please sign in to comment.