https://pulumi.com logo
#python
Title
# python
o

orange-australia-91292

12/28/2019, 6:56 AM
I’m doing:
Copy code
import pulumi
from pulumi_aws import s3

s3.Bucket.get("pm-images", "arn:aws:s3:::pm-images")
and I get back
Copy code
error: Preview failed: importing arn:aws:s3:::pm-images: Error importing AWS S3 bucket policy: InvalidARNError: invalid ARN
caused by: invalid Amazon S3 ARN, unknown resource type, arn:aws:s3:::pm-images