I'm trying to create a new environment using ElasticBeanstalk loadbalancer application with the following command cli the: 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 admin key, it gives the same error.
I already added the aws-elasticbeanstalk-service-role and AWSElasticBeanstalkService (and AWSElasticBeanstalkFullAccess) permissions and it still gives the same erro.
Everything works when I use a classic loadbalancer.
source
share