AWS ElasticBeanstalk application loadbalancer Service role

Viewed 649

I'm trying to create a new ElasticBeanstalk environment with an application loadbalancer with the following cli command: eb create my-home-page --elb-type application;

INFO: Service role is required for application load balancer type enabled environments. ERROR: Failed to launch environment.

Even when using the administrator key, it gives the same error.

I already added the role aws-elasticbeanstalk-service-role and the permissions AWSElasticBeanstalkService (and AWSElasticBeanstalkFullAccess) and it still gives the same erro.

Everything works when i use the classic loadbalancer.

1 Answers
Related