Skip to content

Commit 78e9db2

Browse files
authored
Upgrade the runtime to Node v14
AWS is phasing out Node v12 support following the EOL of Node v12 (April 30, 2022). This requires this package to start using at least v14or better v16. Since v16 doesn't exist in `CustomResourceProviderRuntime` of CDK `v1.140.0`, this update includes upgrade to v14.
1 parent 28be208 commit 78e9db2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cdk-pull-request-approval-rule/src/approval-rule-template-repository-association.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class ApprovalRuleTemplateRepositoryAssociation extends Construct {
2828

2929
const serviceToken = CustomResourceProvider.getOrCreate(this, resourceType, {
3030
codeDirectory: approvalRuleTemplateRepositoryAssociationDir,
31-
runtime: CustomResourceProviderRuntime.NODEJS_12,
31+
runtime: CustomResourceProviderRuntime.NODEJS_14_X,
3232
policyStatements: [
3333
{
3434
Effect: 'Allow',

0 commit comments

Comments
 (0)