aws-sam-cli icon indicating copy to clipboard operation
aws-sam-cli copied to clipboard

SAM should fall back to copy if mounting a directory fails

Open abrooksv opened this issue 6 years ago • 1 comments

Describe your idea/feature/enhancement

I wish SAM CLI would fall back to deep copy everywhere (build. invoke (zip and debugger-path) if docker mounting fails

Additional Details

abrooksv avatar Feb 12 '19 22:02 abrooksv

@abrooksv doing some issue grooming and came along this issue, do you still need this?

awsjeffg avatar Aug 21 '20 21:08 awsjeffg

@abrooksv Hey can I please get some more context on why you want sam to auto switch mode if the containerized actions fail? How I'm understanding your ask is that if the container mounting fails, would would like the build, for example still succeed without the use of containers. What scenarios would make this a better approach than re-running the build command without specifying the --use-container flag? My concern with switching is, currently containerized actions and normal actions can output different build folder structures (for example the dependencies will be built incrementally for non-container cached builds but not yet for containerized ones). With this being a concern I would not suggest any sort of auto-switching, thanks for understanding! Let me know if I'm misunderstanding the context here or if you have some strong reasons for this feature (maybe automation related?)

qingchm avatar Dec 16 '22 09:12 qingchm

Closing due inactivity. Please create a new issue if you would still like this feature.

jfuss avatar Dec 20 '22 21:12 jfuss

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Dec 20 '22 21:12 github-actions[bot]