Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 499 Bytes

File metadata and controls

26 lines (19 loc) · 499 Bytes

Deploying without bootstraping CDK

  1. Ensure you have jq v1.6 or higher installed.
  2. Change cdk.json from:
{
  "app": "npx ts-node --prefer-ts-exts bin/iem-dashboard.ts",
  "context": {

  }
}

to:

{
  "app": "npx ts-node --prefer-ts-exts bin/iem-dashboard.ts && cat cdk.out/IemDashboardStack.template.json| jq '. |= del(.Rules) | del(.Parameters)'> cdk.out/clean.template.json",
  "context": {

  }
}
  1. Deploy the cdk.out/clean.template.json file