awslabs / aws-bootstrap-kit

Apache License 2.0
104 stars 23 forks source link

flochaz/bumpToNodeJS14 #41

Closed flochaz closed 3 years ago

flochaz commented 3 years ago

Bumping NodeJS version of custom resource provider lambda to 14 to anticipate deprecation. Bumping CDK to 1.107.0 to ensure we don't have deprecated NodeJS10 lambda hanging around for resources based on cdk custom resources provider

Tests

---------------------------------------------------|---------|----------|---------|---------|---------------------
All files                                          |   96.03 |    78.13 |   97.73 |   95.98 |                     
 lib                                               |   97.72 |    74.58 |   95.83 |   97.72 |                     
  account-provider.ts                              |     100 |      100 |     100 |     100 |                     
  account.ts                                       |   96.15 |    83.33 |     100 |   96.15 | 185                 
  aws-config-recorder.ts                           |     100 |      100 |     100 |     100 |                     
  aws-organizations-stack.ts                       |   93.48 |    69.57 |      80 |   93.48 | 132,140,163         
  dns.ts                                           |   95.83 |     62.5 |     100 |   95.83 | 66                  
  index.ts                                         |     100 |      100 |     100 |     100 |                     
  organization-trail.ts                            |     100 |       50 |     100 |     100 | 145                 
  organization.ts                                  |     100 |      100 |     100 |     100 |                     
  organizational-unit.ts                           |     100 |      100 |     100 |     100 |                     
  secure-root-user.ts                              |     100 |      100 |     100 |     100 |                     
  validate-email-provider.ts                       |     100 |       75 |     100 |     100 | 78                  
  validate-email.ts                                |     100 |    83.33 |     100 |     100 | 47                  
 lib/account-handler                               |   94.74 |    88.46 |     100 |   94.44 |                     
  index.ts                                         |   94.74 |    88.46 |     100 |   94.44 | 57,62               
 lib/dns                                           |     100 |       50 |     100 |     100 |                     
  cross-account-dns-delegator.ts                   |     100 |      100 |     100 |     100 |                     
  cross-account-zone-delegation-record-provider.ts |     100 |       50 |     100 |     100 | 61                  
  cross-account-zone-delegation-record.ts          |     100 |       50 |     100 |     100 | 22-23               
 lib/dns/delegation-record-handler                 |   88.24 |    78.26 |     100 |   87.69 |                     
  index.ts                                         |   86.79 |    78.95 |     100 |   86.79 | 115,174-185,236-237 
  utils.ts                                         |   93.33 |       75 |     100 |   91.67 | 8                   
 lib/validate-email-handler                        |     100 |    85.71 |     100 |     100 |                     
  index.ts                                         |     100 |    85.71 |     100 |     100 | 75-78               
---------------------------------------------------|---------|----------|---------|---------|---------------------

Test Suites: 8 passed, 8 total
Tests:       28 passed, 28 total
Snapshots:   0 total
Time:        45.88 s, estimated 60 s
Ran all test suites.