I'm trying to run an export image task for hours with no results.

0
C:\Users\ronen>aws ec2 export-image --image-id ami-0129baa76e4eaa35a --disk-image-format VHD --s3-export-location S3Bucket=myexportbucket12,S3Prefix=exports/

An error occurred (InvalidParameter) when calling the ExportImage operation: The service role vmimport provided does not exist or does not have sufficient permissions

How can it be even possible it fails here in the simulator?

Enter image description here

ronenfe
asked 2 months ago218 views
1 Answer
3
Accepted Answer

Hello.

As stated in the error message, the VM Import/Export service role may not exist.
If you have not created a service role, please try creating one by following the steps in the document below.
https://docs.aws.amazon.com/vm-import/latest/userguide/required-permissions.html

profile picture
EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed 2 months ago
  • Oh no, I thought It was a iam role I create in the iam page. AI doesn't know about it.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions