Skip to content

Commit

Permalink
Update Lambda functions to node 8.10
Browse files Browse the repository at this point in the history
* [Improvement] `ecs/cluster` - Update Lambda functions to node 8.10
* [Improvement] `operations/backup-dynamodb-native` - Update Lambda functions to node 8.10
* [Improvement] `security/account-password-policy` - Update Lambda functions to node 8.10
* [Improvement] `state/elasticache-memcached` - Update Lambda functions to node 8.10
* [Improvement] `static-website/lambdaedge-index-document` - Update Lambda functions to node 8.10
* [Improvement] `wordpress/*` - Update Lambda functions to node 8.10
  • Loading branch information
michaelwittig authored Mar 25, 2019
1 parent 8561b42 commit cfeec2a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ecs/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ Resources:
Handler: 'index.handler'
MemorySize: 128
Role: !GetAtt 'SchedulableContainersLambdaRole.Arn'
Runtime: 'nodejs6.10'
Runtime: 'nodejs8.10'
Timeout: 60
SchedulableContainersLogGroup:
Type: 'AWS::Logs::LogGroup'
Expand Down
2 changes: 1 addition & 1 deletion operations/backup-dynamodb-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Resources:
Handler: 'index.handler'
MemorySize: 128
Role: !GetAtt 'LambdaRole.Arn'
Runtime: 'nodejs6.10'
Runtime: 'nodejs8.10'
Timeout: 60
LambdaLogGroup:
Type: 'AWS::Logs::LogGroup'
Expand Down
2 changes: 1 addition & 1 deletion security/account-password-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Resources:
Handler: 'index.handler'
MemorySize: 128
Role: !GetAtt 'LambdaRole.Arn'
Runtime: 'nodejs6.10'
Runtime: 'nodejs8.10'
Timeout: 60
LambdaLogGroup:
Type: 'AWS::Logs::LogGroup'
Expand Down
2 changes: 1 addition & 1 deletion state/elasticache-memcached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Resources:
Handler: 'index.handler'
MemorySize: 128
Role: !GetAtt 'CustomResourceLambdaRole.Arn'
Runtime: 'nodejs6.10'
Runtime: 'nodejs8.10'
Timeout: 60
CustomResourceLambdaLogGroup:
Type: 'AWS::Logs::LogGroup'
Expand Down
8 changes: 4 additions & 4 deletions static-website/lambdaedge-index-document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Resources:
Type: 'AWS::Lambda::Function'
Properties:
Code:
# If you change the ZipFile, rename the logical id LambdaVersionV3 to trigger a new version creation!
# If you change the ZipFile, rename the logical id LambdaVersionV4 to trigger a new version creation!
ZipFile: !Sub |
'use strict';
const regex = /\.[a-z0-9]+$/;
Expand Down Expand Up @@ -122,14 +122,14 @@ Resources:
Handler: 'index.handler'
MemorySize: 128
Role: !GetAtt 'LambdaRole.Arn'
Runtime: 'nodejs6.10'
Runtime: 'nodejs8.10'
Timeout: 5
LambdaLogGroup:
Type: 'AWS::Logs::LogGroup'
Properties:
LogGroupName: !Sub '/aws/lambda/${LambdaFunction}'
RetentionInDays: !Ref LogsRetentionInDays
LambdaVersionV3:
LambdaVersionV4:
Type: 'AWS::Lambda::Version'
Properties:
FunctionName: !Ref LambdaFunction
Expand All @@ -145,4 +145,4 @@ Outputs:
Value: !Sub '${AWS::StackName}'
LambdaVersionArn:
Description: 'Version ARN of Lambda@Edge function.'
Value: !Ref LambdaVersionV3
Value: !Ref LambdaVersionV4
2 changes: 1 addition & 1 deletion wordpress/wordpress-ha-aurora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ Resources:
Handler: 'index.handler'
MemorySize: 128
Role: !GetAtt 'LambdaRole.Arn'
Runtime: 'nodejs6.10'
Runtime: 'nodejs8.10'
Timeout: 60
LambdaLogGroup:
Type: 'AWS::Logs::LogGroup'
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wordpress-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ Resources:
Handler: 'index.handler'
MemorySize: 128
Role: !GetAtt 'LambdaRole.Arn'
Runtime: 'nodejs6.10'
Runtime: 'nodejs8.10'
Timeout: 60
LambdaLogGroup:
Type: 'AWS::Logs::LogGroup'
Expand Down

0 comments on commit cfeec2a

Please sign in to comment.