amplify-backend icon indicating copy to clipboard operation
amplify-backend copied to clipboard

Remove AWS SDK bundling in branch linker.

Open sobolk opened this issue 2 years ago • 0 comments

Related to: https://github.com/aws-amplify/samsara-cli/issues/554#issuecomment-1791513958 . And https://github.com/aws-amplify/samsara-cli/pull/562

We're adding workaround recommended here https://github.com/aws/aws-cdk/issues/26681#issuecomment-1705232051 .

When Lambda serves SDK 3.440.0+ we should remove local SDK bundling.

When we do this we should:

  1. Remove bundling of AWS SDK in AmplifyBranchLinkerConstruct
  2. Move @aws-sdk/client-amplify to devDependencies in @aws-amplify/backend

sobolk avatar Nov 02 '23 21:11 sobolk