S3 replication buckets from 2 regions

0

I have lambda function in region X and I have s3 bucket in region x and region y. the lambda create replication rule for those 2 bucket (from region x and region y). the lambda role and replicate role has policy to all actions in s3. currently the replication code in the lambda failed with access denided . which policy need to be on bucket in region x and bucket in region y?

Brachy
gefragt vor 3 Monaten129 Aufrufe
1 Antwort
0

Can you share a little bit more about the use case? Why are you using a lambda function for replication and not just the native S3 replication feature?

AWS
David C
beantwortet vor 3 Monaten
  • because it for our automation when we add new region, we would like that all the bucket services will mark as replication of master region.

  • Please take a look at this blog that explains how to give a lambda function, cross region and cross account access to S3 Buckets.

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.

Richtlinien für die Beantwortung von Fragen