Salta al contenuto

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.

posta 3 anni fa738 visualizzazioni
1 Risposta
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.

ESPERTO
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.