title: aws glue to access/crawl dynamodb from another aws account (cross account access)
body: <p>I have written a glue job which exports DynamoDb table and stores it on S3 in csv format. The glue job and the table are in the same aws account, but the S3 bucket is in a different aws account. I have been able to access cross account S3 bucket from the glue job by attaching the following bucket policy to it.</p>
  
  <pre><code>{
      "Version": "2012-10-17",
      "Statement": [
          {
              "Sid": "tempS3Access",
              "Effect": "Allow",
              "Principal": {
                  "AWS": "arn:aws:iam::&lt;AWS-ACCOUNT-ID&gt;:role/&lt;ROLE-PATH&gt;"
              },
              "Action": [
                  "s3:Get*",
                  "s3:Put*",
                  "s3:List*",
                  "s3:DeleteObject*"
              ],
              "Resource": [
                  "arn:aws:s3:::&lt;BUCKET-NAME&gt;",
                  "arn:aws:s3:::&lt;BUCKET-NAME&gt;/*"
              ]
          }
      ]
  }
  </code></pre>
  
  <p>Now, I also want to read/access DynamoDb table from another AWS account as well. Is it possible to access cross account DynamoDb table using Crawler ? What do I need to achieve this ?</p>
  
  <p>Thanks</p>