-
Notifications
You must be signed in to change notification settings - Fork 37
v3.5.x regression: Error: Region is missing #87
Copy link
Copy link
Open
Description
I've left my scripts unchanged, and with the latest version, I get the error "Region is missing".
Command:
npx s3p sync --storage-class INTELLIGENT_TIERING --prefix dam-p --bucket damp-s3bucketassetssnapshot-10le8rhqf9io3 --to-bucket damt-s3bucketassetssnapshot-1o1wnr94wtcis --overwrite --max-queue-size 20000 --list-concurrency 50
- bucket damp-s3bucketassetssnapshot-10le8rhqf9io3 is in region eu-north-1
- bucket damt-s3bucketassetssnapshot-1o1wnr94wtcis is in region eu-north-1
- the executing entity is in region eu-north-1
This command executes successfully as expected with s3p@3.4.10. With s3p@3.5.2, I get this error immediately:
S3.list-error:
bucket: :damp-s3bucket-mmctledmpbh8
prefix: undefined
startAfter: ""
limit: 1000
error: Error:
class: class Error
stack:
Error: Region is missing
at default (/root/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js:10:15)
at /root/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js:6:83
at /root/node_modules/@smithy/property-provider/dist-cjs/chain.js:12:39
S3.list-error:
bucket: :damp-s3bucket-mmctledmpbh8
prefix: undefined
startAfter: :O
limit: 1000
error: Error:
class: class Error
stack:
Error: Region is missing
at default (/root/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js:10:15)
at /root/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js:6:83
at /root/node_modules/@smithy/property-provider/dist-cjs/chain.js:12:39
eachRecursive:
startAfter: ""
stopAt:
:~~~[loooong...]~~~~
usePrefixBisect: false
error: Error:
class: class Error
stack:
Error: Region is missing
at default (/root/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js:10:15)
at /root/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js:6:83
at /root/node_modules/@smithy/property-provider/dist-cjs/chain.js:12:39
Error:
class: class Error
stack:
Error: Region is missing
at default (/root/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js:10:15)
at /root/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js:6:83
at /root/node_modules/@smithy/property-provider/dist-cjs/chain.js:12:39
This error appears to be consistent. I noticed it in my development environment first, where I was attempting to update nvm/npm to the latest version. This blocks me from being able to use the latest version of s3p with AWS SDK v3.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels