Skip to content

Commit 5c5f42a

Browse files
committed
Fix copying CFTs to S3 bucket
1 parent fde37e2 commit 5c5f42a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ sed -i -e "s/S3Bucket:.*/S3Bucket: $bucketname/" "$localhome"/rg_userpool.yml
231231

232232
#Copy extracted cft template to the new bucket
233233
echo "Copying deployment files to new bucket"
234-
aws s3 cp "$localhome/cft-templates/*" s3://"$bucketname/"
234+
aws s3 sync "$localhome/cft-templates/" s3://"$bucketname/"
235235

236236
echo "Copying config files to new bucket"
237237
tar -czf config.tar.gz config/*

0 commit comments

Comments
 (0)