Open
Description
Problem
When trying the new experimental feature to "connect to EC2 instance in a new Remote window" from Windows, the script ec2_connect.ps1
is missing.
Logs :
2024-12-16 13:36:48.386 [error] aws.ec2.openRemoteConnection: Error: Failed to update connect script [ConnectScriptUpdateFailed]
-> EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open 'c:\Users\[redacted]\.vscode\extensions\amazonwebservices.aws-toolkit-vscode-3.39.0\resources\ec2_connect.ps1' [FileNotFound]
Steps to reproduce the issue
- Start VSCode on Windows, with AWS Toolkit 3.39
- Enable experimental feature "ec2RemoteConnect"
- Browse to an EC2 in AWS Toolkit explorer
- Click the button "connect to EC2 instance in a new Remote window"
- The error is shown
Expected behavior
I should be able to open a new VSCode window, connected to this remote EC2 through SSM.
System details (run AWS: About
and/or Amazon Q: About
)
- OS: Windows 11
- Visual Studio Code version: 1.96.0
- AWS Toolkit version: 3.39.0
- Amazon Q version: NA