cannot import image from S3 bucket

0

However all permissions have been added I still see the following error:

C:\Users\s.andrada>aws ec2 import-image --description "DC2-WINSYS DOMAIN" --disk-containers "file://C:\json.json"

An error occurred (InvalidParameter) when calling the ImportImage operation: User does not have access to the S3 object.(wigos-cs-bucket/DC2.ova)

Can you please advice?

Thanks!

1 Answer
0
Accepted Answer

Have you assigned access in IAM and or S3 Bucket policy and even KMS policy if object is encrypted?

It looks like you are missing something permission wise

Share IAM policy and S3 bucket policy if you can. Also KMS policy if the object is encrypted

profile picture
EXPERT
answered a year ago
profile picture
EXPERT
reviewed a year ago
profile pictureAWS
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions