E
E
Evgeniy Rybalko2021-09-01 09:19:34
Amazon Web Services
Evgeniy Rybalko, 2021-09-01 09:19:34

What Policy needs to be removed/added to be able to create an eb application?

Good afternoon!
The customer issued an access key ID and a secret access key in AWS
When I try to initialize the application through eb init, it shows the following error:

ERROR: NotAuthorizedError - Operation Denied. User: arn:aws:iam::123456789:user/[email protected] is not authorized to perform: elasticbeanstalk:CreateApplication on resource: arn:aws:elasticbeanstalk:eu-central-1:123456789
:application/my-app

I have rechecked the keys several times already, everything on my side should be correct.
Here is the list of Policies that the customer gave me.
612f1a9d50349297639168.png
Do I need AWSElasticBeanstalkReadOnly here at all?
I understand that AdministratorAccess-AWSElasticBeanstalk should give me all the basic rights to create the app.

Can you please tell me what is wrong with the permissions?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Karasik, 2021-09-01
@whereeaglesdare

AdministratorAccess gives access to all the necessary resources, so either the customer confused something, or you mixed up the keys.
You can check if the user is the correct one with
aws iam get-user
and ask the customer to double check.

U
unseriously, 2021-09-01
@unseriously

There might be a hint here somewhere:
https://aws.amazon.com/premiumsupport/knowledge-ce...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question