How can I `get()` a resource that is in another re...
# aws
o
How can I
get()
a resource that is in another region than the one I’m working in? Example: My region is set to eu-west-1:
aws:region: eu-west-1
. I’m trying to
Copy code
import pulumi
from pulumi_aws import s3

s3.Bucket.get("my-bucket", "my-bucket", region="eu-central-1")
and I get
Copy code
Bucket (my-bucket): BucketRegionError: incorrect region, the bucket is not in 'eu-west-1' region at endpoint ''
        status code: 301, request id: , host id: