gifted-yak-28427
01/27/2021, 1:44 PMbucket_sse = aws.s3.Bucket.get(
resource_name = "dev-file-storage-sse",
id = "arn:aws:s3:::dev-file-storage-sse"
)
Pulumi complaining about the arn though:
aws:s3:Bucket (dev-file-storage-sse):
error: Preview failed: refreshing urn:pulumi:sandbox1::compute::aws:s3/bucket:Bucket::dev-file-storage-sse: 1 error occurred:
* error reading S3 Bucket (arn:aws:s3:::dev-file-storage-sse): InvalidARNError: invalid ARN
caused by: invalid Amazon s3 ARN, unknown resource type, arn:aws:s3:::dev-file-storage-sse
The arn was copied from the console, so it's correct. Am I missing something obvious here? I can access the bucket without issues from the cli using the same user that pulumi is running with.brave-planet-10645
01/27/2021, 1:51 PMbucket_sse = aws.s3.Bucket.get(
resource_name = "dev-file-storage-sse",
id = "dev-file-storage-sse"
)
gifted-yak-28427
01/27/2021, 2:07 PMbrave-planet-10645
01/27/2021, 2:34 PM