Missing permission for eb create elastic beanstalk

0

Hi, I am attempting to create an elastic beanstalk environment with eb client. When i type eb created it give me: NotAuthorizedError - Operation Denied. Access Denied

But the profile that I am using have the permissions:

  • AdministratorAccess - ElasticBeanstalk
  • AmazonEC2FullAccess
  • AmazonRDSFullAccess
  • AWSElasticBeanStalkWebTier
  • AWSElasticBeanStalkWorkerTier
  • IAMUserChangePassword

Also, i am correctly logged in with aws sso login --profile my-profile-name.

I don't know what permission is missing, thank you for help.

Roberth
已提問 1 年前檢視次數 452 次
1 個回答
0

Hi,

According to the following GitHub issue, if the size of your source code exceeds 7 megabytes you require the ListBucketMultipartUploads permission on the elasticbeanstalk S3 bucket, which is not included on the AdministratorAccess-AWSElasticBeanstalk policy. Can you try adding it to see if it solves the problem?

AdministratorAccess-AWSElasticBeanstalk policy gives the user a full permission to create, modify and delete EB applications, environments etc. If your source code file size is greater than 7mb, EB CLI upload your source code in multiple parts to take advantage of S3’s multipart uploads. EB CLI make a call to ListBucketMultipartUploads operation on behalf of customer, and this operation is not included in AdministratorAccess-AWSElasticBeanstalk policy, as this policy is designed to support the opeartions required for EB service.

profile picture
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南