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
posta 3 mesi fa129 visualizzazioni
1 Risposta
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
con risposta 3 mesi fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande