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 réponse
0
Réponse acceptée

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
répondu il y a un an
profile picture
EXPERT
vérifié il y a un an
profile pictureAWS
EXPERT
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions