aws / aws/aws-sam-cli

SAM Build: path is on mount 'D:', start on mount 'C:'

Open
#3,474 2 comments 0 reactions 0 assignees View on GitHub
maintainer/need-followup platform/windows stage/bug-repro stage/needs-investigation
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

A toolkit user was having issues with SAM build when the target build directory and the code were on different drives (see https://github.com/aws/aws-toolkit-vscode/issues/2296). By default the toolkit will create a temporary directory to build in which happened to be on a different drive, so the solution was to manually specify one on the same drive.

The failure occurs here: https://github.com/aws/aws-sam-cli/blob/ec9f5d89971b823fa01071c96b7de90ea5e5303a/samcli/commands/_utils/template.py#L233

Is this an edge-case for windows machines that needs to be looked into? From what I understand relative paths between drives are impossible so cross-drive resolution would just always fail here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.