From 30353d77e2e9dee1a546faa84b7dd26ab46981cd Mon Sep 17 00:00:00 2001 From: Dmitry Fisenko Date: Thu, 3 Feb 2022 17:07:15 -0500 Subject: [PATCH] docs: update 'Customizing the Solution' section --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5c22fbaaa..c2896ad66 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,8 @@ export MAIN_DIRECTORY=$PWD ```bash export REGION=aws-region-code # the AWS region to launch the solution (e.g. us-east-1) -export DIST_OUTPUT_BUCKET=my-bucket-name # bucket where customized code will reside, randomized name recommended +export BUCKET_PREFIX=my-bucket-name # the bucket prefix, randomized name recommended +export BUCKET_NAME=$BUCKET_PREFIX-$REGION # the bucket name where customized code will reside export SOLUTION_NAME=my-solution-name # the solution name export VERSION=my-version # version number for the customized code ``` @@ -80,12 +81,12 @@ chmod +x run-unit-tests.sh ```bash cd $MAIN_DIRECTORY/deployment chmod +x build-s3-dist.sh -./build-s3-dist.sh $DIST_OUTPUT_BUCKET $SOLUTION_NAME $VERSION +./build-s3-dist.sh $BUCKET_PREFIX $SOLUTION_NAME $VERSION ``` ## Deploy -- 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. +- 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`. - Get the link of the solution template uploaded to your Amazon S3 bucket. - Deploy the solution to your account by launching a new AWS CloudFormation stack using the link of the solution template in Amazon S3.