aws / aws/aws-toolkit-vscode

Lambda function download fails on WSL (Ubuntu on Windows 11)

Open
#5,321 0 comments 0 reactions 0 assignees View on GitHub
bug filesystem lambda platform:windows platform:wsl
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem
Downloading Lambda doesn't work with WSL
`Error downloading Lambda function arn:aws:lambda:us-east-1:xxx:function:xxx: Failed to download file Function ARN: arn:aws:lambda:us-east-1:xxx:function:xxx`

## Steps to reproduce the issue
Open a Linux Subsystem folder using VS Code.
1. Install AWS Toolkit
2. Login AWS with Key & Secret
3. Explore -> Lambda -> right click a function -> Download
alt text

4. Failed with the error above

## What's working
- Invoke, upload or delete a Lambda function worked fine using the extension on WSL.
- Without WSL, downloading Lambda worked on Windows system folders.

## System details (run `AWS: About` and/or `Amazon Q: About`)

- OS: Windows 11 (NT x64 10.0.22631)
- Visual Studio Code version: 1.91.1
- AWS Toolkit version: 3.14

Contributor guide

Open the contributing guide

Research direction

Begin with the AWS Toolkit for VS Code Lambda Explorer's Download action and reproduce the failure in a WSL folder using the listed versions. Compare it with downloading in a Windows system folder, while checking that invoke, upload, and delete remain functional. Done means downloading a Lambda function succeeds from WSL without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript, vscode
Domain
cloud, devtools, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.