Error
=====
Client.AuthFailure: vm-import-export@amazon.com must have WRITE and READ_ACL permission on the S3 bucket
Solution
=======
import boto
from pprint import pprint
conn = boto.connect_s3(aws_access_key_id="xxxxxxxx", aws_secret_access_key="xxxxxxxxx")
b = conn.get_bucket("my-bucket")
b.add_email_grant("READ_ACP", "vm-import-export@amazon.com")
grants = b.list_grants()
for gr in grants:
print "=====gr======", pprint(vars(gr))
=====
Client.AuthFailure: vm-import-export@amazon.com must have WRITE and READ_ACL permission on the S3 bucket
Solution
=======
import boto
from pprint import pprint
conn = boto.connect_s3(aws_access_key_id="xxxxxxxx", aws_secret_access_key="xxxxxxxxx")
b = conn.get_bucket("my-bucket")
b.add_email_grant("READ_ACP", "vm-import-export@amazon.com")
b.add_email_grant("WRITE", "vm-import-export@amazon.com")
grants = b.list_grants()
for gr in grants:
print "=====gr======", pprint(vars(gr))
http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/EC2/Instance.html
ReplyDeletehttps://forums.aws.amazon.com/thread.jspa?threadID=99336
where i can apply this code? is this python?
ReplyDeletethanks in advance!
Yes this is python
DeleteI am also getting this error.
ReplyDeleteAn error occurred (AuthFailure) when calling the CreateInstanceExportTask operation: vm-import-export@amazon.com must have WRITE and READ_ACL permission on the S3 bucket.
Please suggest. also executed provide py script using lambda function which thrown syntex error.
Hello, did you find a solution to the error? I have the same
ReplyDeleteIndian Long Anarkali Kurta Palazzo Set
ReplyDeleteIndian Ethnic Flared Kurta Palazzo Set
Kurta Palazzo Dupatta Combo set
Indian Anarkali Kurta Palazzo Set
Indian Anarkali Kurta Palazzo Set
Partywear Kurta Palazzo Dupatta Set
Cotton Anarkali kurti Sharara Suit
Red Anarkali Suit Set
Readymade Anarkali Kurti Pent Combo
Rayon Readymade Suit Set