Hey! Curious if anybody knows a good way to sync a directory to S3, but when the directory changes, only ever add or overwrite files to S3? Never deleting files from the bucket?
l
little-cartoon-10569
05/20/2022, 5:54 AM
aws s3 sync
does this by default (you need to add
--delete
to get it to delete stuff).
s
stocky-restaurant-98004
05/20/2022, 2:36 PM
And you can use pulumi-command to execute the AWS CLI command