Skip to content

Commit 17ed6d2

Browse files
committed
fix(acm): update CertificateRequestorFunction runtime
Fixes aws#4610
1 parent ddb05f9 commit 17ed6d2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.10.0
1+
10.3.0

packages/@aws-cdk/aws-certificatemanager/lib/dns-validated-certificate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class DnsValidatedCertificate extends cdk.Resource implements ICertificat
6161
const requestorFunction = new lambda.Function(this, 'CertificateRequestorFunction', {
6262
code: lambda.Code.fromAsset(path.resolve(__dirname, '..', 'lambda-packages', 'dns_validated_certificate_handler', 'lib')),
6363
handler: 'index.certificateRequestHandler',
64-
runtime: lambda.Runtime.NODEJS_8_10,
64+
runtime: lambda.Runtime.NODEJS_10_X,
6565
timeout: cdk.Duration.minutes(15),
6666
role: props.customResourceRole
6767
});

packages/@aws-cdk/aws-certificatemanager/test/test.dns-validated-certificate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export = {
3232
}));
3333
expect(stack).to(haveResource('AWS::Lambda::Function', {
3434
Handler: 'index.certificateRequestHandler',
35-
Runtime: 'nodejs8.10',
35+
Runtime: 'nodejs10.x',
3636
Timeout: 900,
3737
}));
3838
expect(stack).to(haveResource('AWS::IAM::Policy', {

0 commit comments

Comments
 (0)