I am using AWS Cloudshell to create .zip file and push it to AWS S3 Buckets. Few Weeks ago, from cloudhshell to S3 Bucket it was working fine.
Today I got the error for running same aws s3 command in cloudshell. No changes were done for S3 Bucket config.
Command:
[cloudshell-user@ip-10-134-63-171 ~]$ aws s3 cp mcx.zip s3://mcx2/mcx.zip
upload failed: ./mcx.zip to s3://mcx2/mcx.zip An error occurred (AccessDenied) when calling the CreateMultipartUpload operation: Access Denied
Ref Link: https://www.youtube.com/watch?v=KgWAOYLycJ4