- Clone this repository into a directory on your local Windows machine.
cd
into the directory.- Run
sam build
. - Run
sam package --s3-bucket YOUR_BUCKETNAME
- Clone this repository into a second directory on your local windows machine.
- Copy the second directory into a third directory using
xcopy seconddirectory thirddirectory /s /e
. cd
into the second directory.- Run
sam build
. - Run
sam package --s3-bucket YOUR_BUCKETNAME
cd
into the third directory.- Run
sam build
. - Run
sam package --s3-bucket YOUR_BUCKETNAME
Expected result: The binaries are only uploaded once in step 4.
Observed result: The binaries are being uploaded three times in step 4, step 9 and step 12.
This was tested with the AWS SAM CLI version 1.31.0 on Windows 10 Pro Version 20H2 (Build 19042.1165)