Skip to content

Commit

Permalink
Update to latest layer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Jun 14, 2019
1 parent e2b1669 commit 0de7ded
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions docs/frameworks/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Resources:
Timeout: 30 # in seconds (API Gateway has a timeout of 30 seconds)
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-72-fpm:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-72-fpm:7'
Events:
# The function will match all HTTP URLs
HttpRoot:
Expand All @@ -66,9 +66,9 @@ Resources:
Runtime: provided
Layers:
# PHP runtime
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-72:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-72:7'
# Console layer
- 'arn:aws:lambda:us-east-1:209497400698:layer:console:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:console:7'

Outputs:
DemoHttpApi:
Expand Down
6 changes: 3 additions & 3 deletions docs/frameworks/symfony.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Resources:
MemorySize: 1024
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73-fpm:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73-fpm:7'
Events:
HttpRoot:
Type: Api
Expand All @@ -61,8 +61,8 @@ Resources:
Timeout: 120 # in seconds
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73:6' # PHP
- 'arn:aws:lambda:us-east-1:209497400698:layer:console:6' # The "console" layer
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73:7' # PHP
- 'arn:aws:lambda:us-east-1:209497400698:layer:console:7' # The "console" layer

Outputs:
DemoApi:
Expand Down
8 changes: 4 additions & 4 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Resources:
Handler: demo/function.php
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-2:209497400698:layer:php-72:6'
- 'arn:aws:lambda:us-east-2:209497400698:layer:php-72:7'

HttpFunction:
Type: AWS::Serverless::Function
Expand All @@ -29,7 +29,7 @@ Resources:
MemorySize: 1024 # The memory size is related to the pricing and CPU power
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-2:209497400698:layer:php-72-fpm:6'
- 'arn:aws:lambda:us-east-2:209497400698:layer:php-72-fpm:7'
Events:
HttpRoot:
Type: Api
Expand All @@ -51,8 +51,8 @@ Resources:
Handler: demo/console.php
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-2:209497400698:layer:php-72:6'
- 'arn:aws:lambda:us-east-2:209497400698:layer:console:6'
- 'arn:aws:lambda:us-east-2:209497400698:layer:php-72:7'
- 'arn:aws:lambda:us-east-2:209497400698:layer:console:7'

Outputs:
DemoHttpApi:
Expand Down
4 changes: 2 additions & 2 deletions template/console/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Resources:
MemorySize: 1024 # The memory size is related to the pricing and CPU power
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73:6' # PHP
- 'arn:aws:lambda:us-east-1:209497400698:layer:console:6' # The "console" layer
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73:7' # PHP
- 'arn:aws:lambda:us-east-1:209497400698:layer:console:7' # The "console" layer
2 changes: 1 addition & 1 deletion template/default/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Resources:
MemorySize: 1024 # The memory size is related to the pricing and CPU power
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73:7'
2 changes: 1 addition & 1 deletion template/http/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Resources:
MemorySize: 1024 # The memory size is related to the pricing and CPU power
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73-fpm:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73-fpm:7'
Events:
# The function will match all HTTP URLs
HttpRoot:
Expand Down
6 changes: 3 additions & 3 deletions tests/Sam/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Resources:
Handler: tests/Sam/Php/function.php
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73:7'
Environment:
Variables:
FOO: bar
Expand All @@ -23,7 +23,7 @@ Resources:
Handler: tests/Sam/PhpFpm/index.php
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73-fpm:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73-fpm:7'
Events:
HttpRoot:
Type: Api
Expand All @@ -42,7 +42,7 @@ Resources:
Handler: tests/Sam/PhpFpm/UNKNOWN.php
Runtime: provided
Layers:
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73-fpm:6'
- 'arn:aws:lambda:us-east-1:209497400698:layer:php-73-fpm:7'
Events:
HttpRoot:
Type: Api
Expand Down

0 comments on commit 0de7ded

Please sign in to comment.