Not sure what to do about this error: `Error impor...
# general
q
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
How are you specifying the import ID?
q
manually
A string that matches the id already in pulumi
w
What is the string?
q
‘cdn’
w
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
ah
that’s the name in pulumi
the id is ‘cdn.seniorvu.io
Yea I’ve tried both
w
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
sorry, got that error with ‘cdn.seniorvu.io’ as the id