Skip to content

Commit 83296c8

Browse files
committed
docs: update 'Customizing the Solution' section
1 parent 1bc3f9f commit 83296c8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ export MAIN_DIRECTORY=$PWD
6060

6161
```bash
6262
export REGION=aws-region-code # the AWS region to launch the solution (e.g. us-east-1)
63-
export DIST_OUTPUT_BUCKET=my-bucket-name # bucket where customized code will reside, randomized name recommended
63+
export BUCKET_PREFIX=my-bucket-name # the bucket prefix, randomized name recommended
64+
export BUCKET_NAME=$BUCKET_PREFIX-$REGION # the bucket name where customized code will reside
6465
export SOLUTION_NAME=my-solution-name # the solution name
6566
export VERSION=my-version # version number for the customized code
6667
```
@@ -80,12 +81,12 @@ chmod +x run-unit-tests.sh
8081
```bash
8182
cd $MAIN_DIRECTORY/deployment
8283
chmod +x build-s3-dist.sh
83-
./build-s3-dist.sh $DIST_OUTPUT_BUCKET $SOLUTION_NAME $VERSION
84+
./build-s3-dist.sh $BUCKET_PREFIX $SOLUTION_NAME $VERSION
8485
```
8586

8687
## Deploy
8788

88-
- Deploy the distributable to the Amazon S3 bucket in your account. Make sure you are uploading the distributable to the `$DIST_OUTPUT_BUCKET-$REGION` bucket.
89+
- Deploy the distributable to the Amazon S3 bucket in your account. Make sure you are uploading the files in `deployment/global-s3-assets` and `deployment/regional-s3-assets` to `$BUCKET_NAME/$SOLUTION_NAME/$VERSION`.
8990
- Get the link of the solution template uploaded to your Amazon S3 bucket.
9091
- Deploy the solution to your account by launching a new AWS CloudFormation stack using the link of the solution template in Amazon S3.
9192

0 commit comments

Comments
 (0)