Direkt zum Inhalt

S3 Cross Region Replication Failure

0

Hey, I am trying to execute cross region replication for s3 object for a partticular prefix with KMs Enabled. I am Getting Error (Failure Reason) - SrcGetObjectNotPermitted. I am giving the [s3:GETObjectVersionForReplication ] Action to IAM Role policy that is attached to replication iam role. Can you please help!!

gefragt vor 3 Jahren2919 Aufrufe

2 Antworten
0

Most likely the s3:GetObjectVersionForReplication permission may be missing for the source bucket. You can refer the document for more detail. https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-failure-codes.html

AWS

beantwortet vor 3 Jahren

0

SrcGetObjectNotPermitted simply means that the IAM role was not allowed to perform a successful GET on the source object. Sometimes, it might be KMS encryption related. You can also check CloudTrail for KMS errors at the time of the replication failure. Decrypt, Encrypt or GenerateDataKey errors might give you some clues into what KMS permissions are required for a successful replication https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-config-for-kms-objects.html#replication-kms-permissions

AWS

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.