From 9cfa7c7490a1c75d052f716c08191f76e1179d8c Mon Sep 17 00:00:00 2001 From: Makon Date: Wed, 30 Dec 2020 18:14:27 -0500 Subject: [PATCH] Remove --recursive from inctructions with `aws-cli/2.1.15` i was getting the error `Unknown options: --recursive` when running lines 67 and 68. When the `--recursive` option is removed, the command works --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30bd10043..26b3b87cf 100644 --- a/README.md +++ b/README.md @@ -64,8 +64,8 @@ chmod +x ./build-s3-dist.sh Deploy the distributable to the Amazon S3 bucket in your account: ```bash -aws s3 sync ./regional-s3-assets/ s3://$DIST_OUTPUT_BUCKET-$REGION/$SOLUTION_NAME/$VERSION/ --recursive --acl bucket-owner-full-control -aws s3 sync ./global-s3-assets/ s3://$DIST_OUTPUT_BUCKET-$REGION/$SOLUTION_NAME/$VERSION/ --recursive --acl bucket-owner-full-control +aws s3 sync ./regional-s3-assets/ s3://$DIST_OUTPUT_BUCKET-$REGION/$SOLUTION_NAME/$VERSION/ --acl bucket-owner-full-control +aws s3 sync ./global-s3-assets/ s3://$DIST_OUTPUT_BUCKET-$REGION/$SOLUTION_NAME/$VERSION/ --acl bucket-owner-full-control ``` ### 6. Launch the CloudFormation template.