AWS CLI S3 A client error (403) occurred when calling the HeadObject operation: Forbidden

来源:互联网 发布:怎么在淘宝看直播 编辑:程序博客网 时间:2024/05/29 07:13


3
down votefavorite
1

I'm trying to setup a Amazon Linux AMI(ami-f0091d91) and have a script that runs a copy command to copy from a S3 bucket.

aws --debug s3 cp s3://aws-codedeploy-us-west-2/latest/codedeploy-agent.noarch.rpm .

aws  s3 cp s3://aws-codedeploy-us-west-2/latest/codedeploy-agent.noarch.rpm .

出错

使用

aws --debug --no-sign-request s3 cp s3://aws-codedeploy-us-west-2/latest/codedeploy-agent.noarch.rpm .

运行成功。

0 0
原创粉丝点击