Skip to content

Commit b0227ae

Browse files
authored
update: developer docs (#812)
* update developer docs * updated with CDK bootstrap
1 parent e8579e7 commit b0227ae

File tree

1 file changed

+14
-3
lines changed
  • reference-artifacts/Custom-Scripts/Developer-Scripts

1 file changed

+14
-3
lines changed

reference-artifacts/Custom-Scripts/Developer-Scripts/README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,22 @@ This script is a work in-progress and was designed for use by our development an
1313

1414
1. Paste AWS temporary credentials (or set AWS_PROFILE) in the command terminal which will be used to execute the script
1515

16-
2. Set the AWS_DEFAULT_REGION
16+
2. Set the AWS_REGION. For example, `export AWS_REGION=ca-central-1`
1717

18-
3. Execute the script `ts-node src/load-outputs.json`
18+
3. Install the packages manually. `npm install`
1919

20-
4. On successful execution, this script generates the file: `accelerator/src/deployments/cdk/outputs.json`
20+
4. Ensure the necessary environment variables are set. Here are the defaults (change as needed):
21+
22+
```
23+
export ACCELERATOR_NAME="PBMM"
24+
export ACCELERATOR_PREFIX="PBMMAccel-"
25+
export ACCELERATOR_STATE_MACHINE_NAME="PBMMAccel-MainStateMachine_sm"
26+
export BOOTSTRAP_STACK_NAME=PBMMAccel-CDKToolkit
27+
```
28+
29+
4. Execute the script `ts-node src/load-outputs.json`
30+
31+
5. On successful execution, this script generates the file: `accelerator/src/deployments/cdk/outputs.json`
2132

2233
## Use
2334

0 commit comments

Comments
 (0)