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
已提問 2 個月前檢視次數 225 次
1 個回答
3
已接受的答案

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
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
  • Oh no, I thought It was a iam role I create in the iam page. AI doesn't know about it.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南