2019-08-13
Elastic Beanstalk could not find any platforms
stackoverflow
Question

I'm trying to deploy my django app via amazon Elastic BeanStalk(using this tutorial), but getting the following error.

ERROR: Elastic Beanstalk could not find any platforms. Ensure you have the necessary permissions to access Elastic Beanstalk.

enter image description here

How can i fix this issue?

Thanks!

Answer
1

Problem is, as @helloV said, your user does not have access. Now this was a complete surprise to me because I was using the root (which I really shouldn't) and I ASSUMED it would just have access.

So solution is that you HAVE TO ATTACH a policy as shown in the screenshot below since even the root IAM account does not have this policy.

enter image description here

Elastic Beanstalk could not find any platforms
See more ...