I am working on getting knife to bring up ec2 instances:

I always get:

ERROR: Fog::Compute::AWS::Error: UnauthorizedOperation => You are not authorized to perform this operation.

What am I missing? Please advise. Thanks.


I also had issues with the upvoted answer, if you check the cloudtrail logs you can see why the operation failed.

For me it needed ec2:DescribeAddress and iam:PassRole for the role I was attaching.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.