首页 > 其他分享 >[AWS] Solve Error: An error occurred (AccessDenied) when calling the CreateMultipartUpload operation

[AWS] Solve Error: An error occurred (AccessDenied) when calling the CreateMultipartUpload operation

时间:2022-09-02 13:59:23浏览次数:68  
标签:sam CreateMultipartUpload deploy Denied when Access error your


When you deploy with SAM CLI using sam deploy, you might get the following error:

Error: Unable to upload artifact <YourComponent> referenced by ContentUri parameter of <YourComponent> resource. 
An error occurred (AccessDenied) when calling the CreateMultipartUpload operation: Access Denied.

Try to solve this error by doing the following check:
  • Check your aws configuration by running aws configure list, if not, run aws configure to modify it, make sure your IAM user have all the necessary permissions.

  • Build your app first by running sam build --use-container, and then run sam deploy --guided if this is your first time to deploy.
    `

标签:sam,CreateMultipartUpload,deploy,Denied,when,Access,error,your
From: https://www.cnblogs.com/grandyang/p/16649574.html

相关文章