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
asked 10 months ago406 views
1 Answer
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
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions