Jagdish Barabari
Jagdish Barabari

Reputation: 2703

Can't deploy to ebs getting aws.auth.client.error

Can any one tell me why I am getting this issue when I run eb deploy or eb create name-dev

ERROR: aws.auth.client.error.ARCInstanceIdentityProfileNotFoundException: 
ERROR: Failed to launch environment
INFO: Deleting SNS topic for environment name-dev

Is what I am doing wrong the environment name? or is the access key which I had sent wrong?

Thanks in advance.

Jagdish.

Upvotes: 2

Views: 338

Answers (2)

copperlight
copperlight

Reputation: 141

The following AWS documentation link covers how to configure IAM Roles for Elastic Beanstalk:

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.roles.aeb.html

The default PowerUser profile provided by AWS denies all access to the IAM service, which results in this error. The following IAM permissions are required for Elastic Beanstalk:

"iam:AddRoleToInstanceProfile",
"iam:CreateInstanceProfile",
"iam:CreateRole",
"iam:PassRole",
"iam:ListInstanceProfiles"

The docs have full examples showing how to grant access to a broad set of AWS resources without granting full administrative access.

Upvotes: 4

Caleb
Caleb

Reputation: 2353

That error is happening because your IAM user doesn't have the necessary access for that command. I got the same error and was able to resolve it by giving the IAM user full admin access. Probably not what you want for production though.

Upvotes: 0

Related Questions