Copying the wildrydes files from s3 fails with access denied
See original GitHub issueFollowing the “build a serverless web app” tutorial, and hit two issues in the Copy the files from S3 step in Module 1 - Static Web Hosting with Continuous Deployment.
Firstly, the pre-requisites for the tutorial didn’t mention the need to install the aws cli, so I had to go and figure that out (more an annoyance than a blocker, as a quick Google for “aws cli” sorted that).
Then once the CLI is installed, running the aws s3 cp s3://wildrydes-us-east-1/WebApplication/1_StaticWebHosting/website ./ --recursive
command as instructed results in this error:
fatal error: An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
I assume the target S3 bucket is no longer publicly available…
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:9
Top Results From Across the Web
Access denied copying files using S3 CLI - Server Fault
Is there any way to 'describe-instances' for another AWS account from awscli? 1 · "Access Denied” error while creating Amazon S3 bucket even...
Read more >Amazon S3 File Permissions, Access Denied when copied ...
I'm running into a problem now with all of the files where i am receiving Access Denied errors when I try to make...
Read more >Resolve Access Denied error for ListObjectsV2 using S3 sync
I'm running the aws s3 sync command to copy objects to or from an Amazon Simple Storage Service (Amazon S3) bucket. However, I'm...
Read more >S3 Bucket Access Denied
Copying the wildrydes files from s3 fails with access denied. For Target, choose the name of the bucket that you want to receive...
Read more >S3 Bucket Access Denied - Bar Sereno
Getting error 3600 (access denied) when accessing a file in an S3 bucket. ... Copying the wildrydes files from s3 fails with access...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @daiscog - I had the same problem. I resolved it by granting the IAM user that was doing the copy the AmazonS3ReadOnlyAccess policy - this gave the user permission to read from S3.
Ok so the solution is a few things:
cat ~/.aws/credentials
AmazonS3ReadOnlyAccess
permission