https://pulumi.com logo
#general
Title
# general
q

quick-action-34599

09/03/2019, 6:55 PM
Not sure what to do about this error:
Error importing AWS S3 bucket policy: BucketRegionError: incorrect region, the bucket is not in 'us-east-2' region at endpoint ''
. Trying to import an existing bucket and it is in us-east-2
w

white-balloon-205

09/03/2019, 7:15 PM
How are you specifying the import ID?
q

quick-action-34599

09/03/2019, 7:21 PM
manually
A string that matches the id already in pulumi
w

white-balloon-205

09/03/2019, 7:32 PM
What is the string?
q

quick-action-34599

09/03/2019, 7:41 PM
‘cdn’
w

white-balloon-205

09/03/2019, 7:43 PM
Is that really the bucket
id
in AWS? I suspect you did not actually get to claim the
cdn
bucket from the global namespaces of AWS bucket names 🙂. If you run
pulumi stack -i
you will see all resources along with their `id`s - I suspect your bucket has a different
id
.
q

quick-action-34599

09/03/2019, 7:43 PM
ah
that’s the name in pulumi
the id is ‘cdn.seniorvu.io
Yea I’ve tried both
w

white-balloon-205

09/03/2019, 7:44 PM
In fact - looks like this bucket (whoever does actually own it) is super locked down 🙂.
Copy code
$ aws s3 ls <s3://cdn>

An error occurred (AllAccessDisabled) when calling the ListObjectsV2 operation: All access to this object has been disabled
q

quick-action-34599

09/03/2019, 7:44 PM
sorry, got that error with ‘cdn.seniorvu.io’ as the id
8 Views