seelabutk/substrate

Check the version of the AWS CDK Node package before proceeding

Opened this issue · 0 comments

We've noticed that if someone failed to update from v1 to v2, then substrate will not do any checking or reporting of the issue, which will can cause failures in the bootstrapping process due to the switch in bootstrapping templates used by the CDK.

Ideally, substrate will perform two checks and report meaningful errors before starting work when being deployed to an AWS target:

  1. Check if the Node package is installed.
  2. Check if an acceptable version of the Node package is installed.