Skip to content

Commit 94a68e9

Browse files
committed
Update node runtime. Increase timeouts
Update node runtime to 14. Increase timeouts for updated s2 images.
1 parent eba22e8 commit 94a68e9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

local/env.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"deprovisionS2Containers": {
1111
"NODE_ENV": "local",
12-
"S2_PROVISIONING_TIMEOUT": 4
12+
"S2_PROVISIONING_TIMEOUT": 8
1313
}
1414
}
1515

template.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Description: Starts the test emissaries.
55
# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
66
Globals:
77
Function:
8-
Timeout: 6 # !Ref LAMBDA_TIMEOUT # Default is 3 seconds # !Ref doesn't work here, so we have to duplicate the value.
8+
Timeout: 10 # !Ref LAMBDA_TIMEOUT # Default is 3 seconds # !Ref doesn't work here, so we have to duplicate the value.
99
Environment:
1010
Variables: # More info about Env Vars: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object
1111
NODE_ENV:
@@ -18,21 +18,21 @@ Resources:
1818
Properties:
1919
CodeUri: local/app-emissary-provisioner
2020
Handler: index.provisionAppEmissaries
21-
Runtime: nodejs12.x
21+
Runtime: nodejs14.x
2222

2323
provisionSeleniumStandalones:
2424
Type: AWS::Serverless::Function
2525
Properties:
2626
CodeUri: local/selenium-standalone-provisioner
2727
Handler: index.provisionSeleniumStandalones
28-
Runtime: nodejs12.x
28+
Runtime: nodejs14.x
2929

3030
deprovisionS2Containers:
3131
Type: AWS::Serverless::Function
3232
Properties:
3333
CodeUri: local/s2-deprovisioner
3434
Handler: index.deprovisionS2Containers
35-
Runtime: nodejs12.x
35+
Runtime: nodejs14.x
3636

3737
Outputs:
3838

0 commit comments

Comments
 (0)