Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading to 0.33 leads to 'Unable to determine AWS region' error #2720

Closed
KnisterPeter opened this issue Jun 3, 2019 · 1 comment
Closed
Labels
bug This issue is a bug.

Comments

@KnisterPeter
Copy link
Contributor

Describe the bug
Since upgrading to version 0.33 we could not run any CDK command. It fails with the following error:

(node:31487) UnhandledPromiseRejectionWarning: Error: Unable to determine AWS region from environment or AWS configuration (profile: "xxx")
    at getCLICompatibleDefaultRegion (/xxx/node_modules/aws-cdk/lib/api/util/sdk.ts:357:11)
(node:31487) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:31487) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Version:

  • OS: Arch Linux
  • Programming Language: TypeScript
  • CDK Version: 0.33
@KnisterPeter KnisterPeter added the bug This issue is a bug. label Jun 3, 2019
@rix0rrr
Copy link
Contributor

rix0rrr commented Jun 3, 2019

Duplicate of #2697

@rix0rrr rix0rrr marked this as a duplicate of #2697 Jun 3, 2019
@rix0rrr rix0rrr closed this as completed Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants