Skip to content

Commit

Permalink
Update PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Jul 27, 2023
1 parent 6966d19 commit 20db6ca
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,14 +25,14 @@ package:
functions:
function:
handler: demo/function.php
runtime: php-81
runtime: php-83
description: 'Bref function demo'
environment:
BREF_LOOP_MAX: 100

http:
handler: demo/http.php
runtime: php-81-fpm
runtime: php-83-fpm
architecture: arm64
description: 'Bref HTTP demo'
timeout: 5 # in seconds (API Gateway has a timeout of 29 seconds)
Expand All @@ -41,7 +41,7 @@ functions:

psr7:
handler: demo/psr7.php
runtime: php-81
runtime: php-83
description: 'Bref HTTP demo with a PSR-7 handler'
timeout: 5 # in seconds (API Gateway has a timeout of 29 seconds)
events:
Expand All @@ -52,14 +52,14 @@ functions:

http-api:
handler: demo/http.php
runtime: php-81-fpm
runtime: php-83-fpm
description: 'Bref HTTP demo'
timeout: 5 # in seconds (API Gateway has a timeout of 29 seconds)
events:
- httpApi: '*'

console:
handler: demo/console.php
runtime: php-81-console
runtime: php-83-console
description: 'Bref console command demo'
timeout: 5

0 comments on commit 20db6ca

Please sign in to comment.