title: Terraform - data resource access in AWS cross account
body: <p>I writing a terraform script and I want to use <code>data resource</code> to get Kafka MSK related resources, such as Kafka cluster ARN, Kafka Topic ARN.</p>
  <p>for example -</p>
  <pre><code>data &quot;aws_s3_bucket&quot; &quot;content_bucket&quot; {
    bucket = &quot;nameof-bucket-from-another-account&quot;
  }
  </code></pre>
  <p>and I'm wondering if terraform supports getting such resources cross AWS accounts?</p>
  <p>I searched but could not find anything about it.</p>