Open zopyx opened 1 year ago
Restarting localstack resolved the problem
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CloudFormation outputs from deployed stack
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Outputs
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key HelloWorldApi
Description API Gateway endpoint URL for Prod stage for Hello World function
Value https://0uw1iajmuo.execute-api.amazonaws.com:4566/Prod/hello/
Key HelloWorldFunction
Description Hello World Lambda Function ARN
Value arn:aws:lambda:eu-central-1:000000000000:function:salesforce-sync-HelloWorldFunction-afe360f4
Key HelloWorldFunctionIamRole
Description Implicit IAM Role created for Hello World function
Value arn:aws:iam::000000000000:role/salesforce-sync-HelloWorldFunctionRole-1fab8841
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Successfully created/updated stack - salesforce-sync in eu-central-1
However, the generated URL https://0uw1iajmuo.execute-api.amazonaws.com:4566/Prod/hello/
appears wrong...shouldn't that be something with localhost?
Restarting localstack also means deleting your previous Cloudformation stacks. The reason why it works after restarting is because that Cloudformation stack does not exist.
My deployments hang when they are updates of the existing stack (and so do yours). The updates are successful. The samlocal deploy
just does not exit after Cloudformation emits the CREATE_COMPLETE
.
+1 I have the same issue. The app deploys fine the first time, subsequent deployments seem to be successful, but the console hangs at the end and doesn't exit forcing me to Ctrl+C
.
The same in my case even for deploying in the new stack
The same in my case even for deploying in the new stack
Same issue here. How did you fix it?
I fixed this issue by making sure there is no any website / server calling the old stack APIs. For example, I had to kill my local server for a frontend website.
Hi @zopyx, Just checking if this issue had been resolved by the recently released 3.5.0 version which contains quite a few improvements on our CFn implementation and how it behaves during updates?
I am running localstack (1.0.0) locally and I am trying to deploy a lambda method (python) that I formerly tested with AWS.
The deployment using
samlocal
hangs:The localstack console shows: