1 Answer
- Newest
- Most votes
- Most comments
1
The IAM role specified in the recipe will be passed as RoleName input parameter for ImportImage API. This role will be used by VMIE to perform certain operations on your behalf and should be assumable by vmie.amazonaws.com. Verify the trust policy of your role and make sure that vmie.amazonaws.com is in the principal list.
VM Import/Export Requirements - Required service role - https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role
Example trust policy for VMIE role:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": { "Service": "vmie.amazonaws.com" },
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals":{
"sts:Externalid": "vmimport"
}
}
}
]
}
answered 4 years ago
Relevant content
- asked 2 years ago

This is the correct answer in my scenario the role needed vmie trust policy