Comments (4)
Just pinging you to show what I've built using your repo: https://github.com/EsteFilipe/discord-ethereum-authentication
Thanks for the clean code :)
from serverless-discord-bot.
As far as I understand, this error occurs when a bug is introduced into CreateCommandsFunction
that prevents CfnLambda
to run as intended and post the custom resource status back to CloudFormation via a pre-signed URL that is provided to the Lambda function. (For more details of how CloudFormation custom resources work under the hood, refer to here).
As long as the CloudFormation resource update is running, it's not possible to update or delete the stack.
Unfortunately, the timeout period for custom resource status updates is quite long (2 hours?) and as far as I can tell, there is currently no way to change this.
The only options I see are:
- Wait for the custom resource to timeout and create another stack for development in the meantime
- Try to send the status update via HTTP yourself (link) - note: I didn't try this myself
I agree that this is very annoying during development but I do not see any way how to make things easier here. This would be AWS`s turn. If you find out something new with regeard to this issue or if it works out well to send the expected status update yourself - feel free to share!
By the way: Your project looks awesome! Thanks for sharing!
from serverless-discord-bot.
Thanks for the thorough explanation!
The only way I've found to overcome this for development was to just keep creating stacks with new names, while leaving the failed ones so that they time out and I delete them later. This seems like quite a shortcoming from Cloudformation - they even have videos like this one suggesting a hack of send a signal to the lambda in order to be able to delete it https://www.youtube.com/watch?v=hlJkMoCxR-I
from serverless-discord-bot.
Just FYI, I was having problems with CreateCommandsInvoker hanging and was able to fix by increasing the Cloudformation timeout which defaults to 3 seconds.
Also, I've upgraded to Node 18 and didn't find any issues.
Thank you for this repo!
from serverless-discord-bot.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-discord-bot.