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
posta 2 mesi fa225 visualizzazioni
1 Risposta
3
Risposta accettata

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
ESPERTO
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa
  • Oh no, I thought It was a iam role I create in the iam page. AI doesn't know about it.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande