I have a RoR application, and when using the AWS eb command line, I try to create an ElasticBeanstalk application, it asks me for the -service-role flag
I give him an IAM role that exists: for example admin with administrator privileges or aws-elasticbeanstalk-ec2-role
therefore I write eb create --service-role aws-elasticbeanstalk-ec2-role
It begins to unfold, but after a while goes to a state of health, warning it:
Unable to assume role "arn:aws:iam::xxxxxxxxxx:role/aws-elasticbeanstalk-ec2-role". Verify that the role exists and is configured correctly.
That is why my deployment does not work.
Any suggestions?
thanks
source
share