개발/Cloud (AWS)
An error occurred (InvalidParameter) when calling the ExportImage operation: The service role vmimport provided does not exist or does not have sufficient permissions
Jaeyeon Baek
2019. 9. 26. 16:52
AMI( amazon machine image )를 CLI에서 아래와 같이 export 하려고 할 때 발생되는 에러입니다. 커맨드에 대한 공식문서는 여기에서 확인 할 수 있습니다.
$ aws ec2 export-image --image-id ami-07512400xxxxx --disk-image-format VMDK \
--s3-export-location S3Bucket=my-export-bucket,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
해결방안
https://www.cloudberrylab.com/resources/blog/how-to-configure-vmimport-role/
---
오피셜 문서는 아래 링크를 확인하세요.
https://docs.aws.amazon.com/ko_kr/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role