Authorisation error on AWS beanstalk but the expected policy is attached to the user

Viewed 12

I'm triying to deploy a dash (python) web app using AWS elastic beanstalk. But when launching the eb create command, I get

ERROR: NotAuthorizedError - Operation Denied. User: arn:aws:iam::xxxxxxxxx:user/beanstalk_user is not authorized to perform: elasticloadbalancing:DescribeLoadBalancers with an explicit deny in a service control policy.

But what is very weird is that when I check on the IAM console which policies are attached to this account, I see the following :

  • AmazonEC2FullAccess
  • AWSCodeCommitFullAccess
  • ElasticLoadBalancingFullAccess (the one that is supposed to be missing...)
  • AdminstratorAccess-AWSElasticBeanstalk

Do you see any reasons why I got this error message please?

0 Answers
Related