aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

SDKv3-10: Update `aws-cdk` (CLI)

Open otaviomacedo opened this issue 2 years ago • 4 comments

Describe the issue

Context

The AWS SDK V2 is being deprecated. We need to remove all uses of it from the CDK.

Task Description

Remove use of sdkv2 in packages/aws-cdk.

Acceptance Criteria

  • All tests (unit and integ) pass using sdkv3.
  • No instances of sdkv2 are still in use in this package.

Integration tests to write

  • [x] Assume role with credentials from environment variables
  • [x] Assume role with credentials from environment variables, using MFA
  • [x] Credentials directly from environment variables
  • [x] Credentials from Isengard plugin
  • [x] Credentials from a generic plugin
  • [x] Credentials from a process
  • [x] Credentials from SSO
  • [x] Credentials statically defined in the config
  • [x] Credentials from Web identity
  • [x] Credentials from an EC2 instance
  • [x] Credentials from an ECS container

otaviomacedo avatar Sep 18 '24 16:09 otaviomacedo

https://quip-amazon.com/KxMeA7P4ZWta/CDK-CLI-AWS-SDK-upgrade-to-v3

HBobertz avatar Sep 19 '24 19:09 HBobertz

Should we ship the feature in a separate release?

jiayiwang7 avatar Oct 29 '24 20:10 jiayiwang7

Shipped in release 2.167.0: https://github.com/aws/aws-cdk/releases/tag/v2.167.0

jiayiwang7 avatar Nov 18 '24 17:11 jiayiwang7

Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.

github-actions[bot] avatar Nov 18 '24 17:11 github-actions[bot]