I'm trying to import a vmdk image using ec2-import-instance command but it returns below error:
usage: aws [options] [parameters] aws: error: argument command: Invalid choice, valid choices are:
autoscaling | cloudformation cloudfront
| cloudhsm cloudsearch | cloudsearchdomain etc..
My command is here:
aws ec2-import-instance "C:\AWS-TEST-VM\aws-test-vm-01\aws-test-vm-01-disk1.vmdk" -f vmdk -t m1.small -a x86_64 -b bucket_name -o Access Key –w Secret+Access+Key -p Linux --ignore-region-affinity