Table creation using Athena and cross account S3 bucket access

0

I have a bucket 'X' in account 'A', I want to create a copy of the bucket in account 'B' using Athena. I already have a mapping defined in Athena of account 'B' where I can already access another bucket 'Y' of account 'A'. Now, when I'm using the query editor and running a new query ( where I have specified the location of the buckets of account 'A' & 'B') I'm getting errors and the table isn't getting created. Also, is there any other way in which I can do this?

Errors: FAILED: IllegalStateException Unxpected Exception thrown: Unable to fetch table fifadatacompare. Insufficient Lake Formation permission(s) on fifadatacompare (Service: AmazonDataCatalog; Status Code: 400; Error Code: AccessDeniedException

Rajat
gefragt vor 5 Monaten111 Aufrufe
Keine Antworten

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