2

I'm trying to import a vhd to s3 using the following command:

aws ec2 import-image --description "my image" --platform "windows"

The error generated is the following:

A client error (InvalidParameter) occurred when calling the ImportImage operation: Missing required parameter (disk-images)

The documentation doesn't mention disk-images. Is there an example of how this command should work?

1 Answer 1

2

The example below indicates that you are missing a pointer to .json (configuration file): Example: import-image to create a new import image task.

import-image --description "Windows 2008 OVA" --disk-containers file://containers.json

CLI Options for 'import-image' command

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.