1 Answer
0
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 9 months ago
Relevant content
- Accepted Answerasked a year ago
- asked 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 months ago