You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My function uses dependencies from a private Github repository and I have to --mount feature of BuildKit to build Docker image, but SAM does not support BuildKit. Then I have to build image separately first and then define that pre-built image in field ImageUri of template.yaml.
Issue happens when I test on local, SAM must build on fly image to run function -> It can not build image, then can not invoke local.
Is there any way to invoke sam local for this use case? Or SAM does not support that?
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.
Activity
royassis commentedon Apr 27, 2025
Not 100% sure, but try editing the AWS::Serverless::Function resource in your
template.yaml:Remove
Set you local prebuilt image to
**update
Sadly you won't be able to run and debug it using vscode/pycharm aws toolkit, without the metadata section.
vicheey commentedon Jun 23, 2025
Do you mind providing a sample image function any step to reproduce?
reedham-aws commentedon May 28, 2026
Closing this issue as inactive, feel free to reopen if you have any more questions.
github-actions commentedon May 28, 2026
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.