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

Upgrade to AWS SDK for for JavaScript (v3) #510

Open
cgspohn opened this issue Jun 14, 2023 · 1 comment
Open

Upgrade to AWS SDK for for JavaScript (v3) #510

cgspohn opened this issue Jun 14, 2023 · 1 comment

Comments

@cgspohn
Copy link

cgspohn commented Jun 14, 2023

Subject of the issue

When running npx org-formation perform-tasks org.yml for example, the following warning displays in the terminal:

(node:89293) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)

Your environment

  • version of org-foramtion (ofn --version) 1.0.11
  • version of node (node --version) v20.3.0
  • which OS/distro `macOS Ventura 13.4

Steps to reproduce

After installing the tool:

npx org-formation perform-tasks org.yml

Expected behaviour

No more warning and upgraded to AWS SDK for JavaScript (v3) before it is no longer supported.

Actual behaviour

Warning shows up, although I can say that all works for me as expected. I have not run into any errors or anything not working as expected. Raising the ticket proactively since I know upgrades can take some time.

@balassy
Copy link

balassy commented Jul 24, 2023

I'm trying to use org-formation with a custom Identity Center user, and init fails with authentication errors. It looks like it needs my ~\.aws\credentials file that I don't have, and my understanding is that with Identity Center authentication there is no credentials file.
Can it happen that this tool cannot work with Identity Center credentials until the AWS SDK is not upgraded to v3, so I must to set up short-term credentials (access key id, secret access key, session token)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants