Skip to content

Failed to sync and upload to s3 bucket #7152

Answered by aBurmeseDev
lzhoujc asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lzhoujc, thanks for reaching out.

I noticed dash/hyphen inside the --include value in your command, is that intentional? I would double check for any typos as mentioned in this example.

Also, I'm not sure what your local directory path looks like but here's another possible root cause where you'd have to include the path in the --include value.

If you're still having issue, can you share the debug log by adding --debug to the end of the command like this aws s3 sync local_directory s3://bucket-name --exclude "*" --include "*" --debug?

Please let me know if any of this resolves the issue.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tim-finnigan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants