Skip to content

Commit

Permalink
fix(acm): update CertificateRequestorFunction runtime (#4612)
Browse files Browse the repository at this point in the history
Fixes #4610
  • Loading branch information
jakerullman authored and mergify[bot] committed Oct 22, 2019
1 parent ace8041 commit a711425
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.10.0
10.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class DnsValidatedCertificate extends cdk.Resource implements ICertificat
const requestorFunction = new lambda.Function(this, 'CertificateRequestorFunction', {
code: lambda.Code.fromAsset(path.resolve(__dirname, '..', 'lambda-packages', 'dns_validated_certificate_handler', 'lib')),
handler: 'index.certificateRequestHandler',
runtime: lambda.Runtime.NODEJS_8_10,
runtime: lambda.Runtime.NODEJS_10_X,
timeout: cdk.Duration.minutes(15),
role: props.customResourceRole
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export = {
}));
expect(stack).to(haveResource('AWS::Lambda::Function', {
Handler: 'index.certificateRequestHandler',
Runtime: 'nodejs8.10',
Runtime: 'nodejs10.x',
Timeout: 900,
}));
expect(stack).to(haveResource('AWS::IAM::Policy', {
Expand Down

0 comments on commit a711425

Please sign in to comment.