I am trying to copy some object from AWS s3 following a tutorial with this command: aws s3 cp s3://wildrydes-us-east-1/WebApplication/1_StaticWebHosting/website ./ --recursive
and it gave me this error: fatal error: An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
I tried to edit my permission policy and it’s now like this:
{
"Version": "version_id",
"Statement": [
{
"Sid": "some_id",
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
}
]
}
but it still gives me this same error.
I don’t have MAF enabled and I only have 1 user in my account