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
When running sam deploy (lambda) on a specific deployment, I get a small amount of text output, but then nothing, I can leave the deploy running for a few hours and nothing occurs. I check for a new/updated stack and there's nothing present.
2025-02-17 12:22:29,301 | Using SAM Template at /home/octopus/Work/20250217122150-5136753-2697/xdm-ingress-lambda/package.yml
2025-02-17 12:22:29,302 | No config file found in this directory.
2025-02-17 12:22:29,302 | OSError occurred while reading TOML file: [Errno 2] No such file or directory: '/home/octopus/Work/20250217122150-5136753-2697/xdm-ingress-lambda/samconfig.toml'
2025-02-17 12:22:29,302 | Config file location: /home/octopus/Work/20250217122150-5136753-2697/xdm-ingress-lambda/samconfig.toml
2025-02-17 12:22:29,302 | Config file '/home/octopus/Work/20250217122150-5136753-2697/xdm-ingress-lambda/samconfig.toml' does not exist
<no more output>
Expected result:
I have other deploys with the debug flag that deploys as expected, with similar output, yet they don't freeze
SAM CLI update available (1.133.0); (1.132.0 installed)
To download: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html
2025-02-17 12:56:59,204 | Using SAM Template at /home/octopus/Work/20250217125630-5136857-2919/reveal.externaltoken.api/package.yml
2025-02-17 12:56:59,205 | No config file found in this directory.
2025-02-17 12:56:59,205 | OSError occurred while reading TOML file: [Errno 2] No such file or directory: '/home/octopus/Work/20250217125630-5136857-2919/reveal.externaltoken.api/samconfig.toml'
2025-02-17 12:56:59,205 | Config file location: /home/octopus/Work/20250217125630-5136857-2919/reveal.externaltoken.api/samconfig.toml
2025-02-17 12:56:59,205 | Config file '/home/octopus/Work/20250217125630-5136857-2919/reveal.externaltoken.api/samconfig.toml' does not exist
2025-02-17 12:56:59,243 | OSError occurred while reading TOML file: [Errno 2] No such file or directory: '/home/octopus/Work/20250217125630-5136857-2919/reveal.externaltoken.api/samconfig.toml'
2025-02-17 12:56:59,267 | Using config file: samconfig.toml, config environment: default
2025-02-17 12:56:59,267 | Expand command line arguments to:
<snip>
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
OS: Amazon Linux
sam --version: 1.132.0
AWS region: eu-west-1
The text was updated successfully, but these errors were encountered:
Hi @vaujo6y. Sorry for the delay. Can you provide more information on that "specific deployment".
What is different between where it works and where it doesn't?
Is it the same template but with different parameters/region/tags/values? Or just different templates? Did you try to reproduce in a different region for example?
What types resources are you creating in your template? (Lambda functions only? Other infrastructure?)
Does anything get created in CloudFormation? Maybe a ChangeSet if this is an existing stack at least? (Or an empty stack if it's a brand new stack)
Is this in your own development environment, or is it part of a pipeline or CI/CD workflow?
At least we're not aware of a widespread issue related to sam deploy, so we need to understand more about your particular situation. An initial thing you can try is to update to the latest version of SAM CLI (1.134.0), which has some dependency upgrades that may help with your issue.
The difference is nothing that we know of. We thought that the first deploy to an environment will always work and the subsequent ones would always fail, but tests just now we cleaned the old stack out and deployed the same release and it "froze". So we don't see a pattern.
It's always the same template, but with varying results on whether it deploys or not.
Lambda (powershell on custom aml2 runtime)
When we get a successful deployment, we can see the stack and the resources. It feels like a flip of a coin as to whether it deploys or not.
CI/CD Workflow.
I will try 1.134.0 and to deploy outside of our CI/CD workflows to see if that makes any difference.
Description:
When running sam deploy (lambda) on a specific deployment, I get a small amount of text output, but then nothing, I can leave the deploy running for a few hours and nothing occurs. I check for a new/updated stack and there's nothing present.
Steps to reproduce:
Observed result:
Expected result:
I have other deploys with the debug flag that deploys as expected, with similar output, yet they don't freeze
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 1.132.0The text was updated successfully, but these errors were encountered: