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 个月前228 查看次数
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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则