[custom-resources] is being re-deployed on every deployment
See original GitHub issueNot sure if this is actually a bug, or a feature, but when I am using custom resources, notably AwsCustomResource
, it seems to redeploy every time I am doing a deploy. Which takes a few minutes each time.
Reproduction Steps
Use AwsCustomResource
and supply onCreate
with some basic call.
Error Log
No errors.
Environment
- CLI Version: 1.55.0
- Framework Version: 1.55.0
- Node.js Version: v12.18.2
- OS: macos
- Language (Version): TS
Other
N/A
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Deploying applications to Elastic Beanstalk environments
Deployment IDs start at 1 and increment by one with each deployment and instance ... All at once, Downtime, No, Yes, Manual redeploy,...
Read more >Extending the Kubernetes API with Custom Resources
Deploying a CRD into the cluster causes the Kubernetes API server to begin serving the specified custom resource. When you create a new...
Read more >How do I force redeployment of my API Gateway using ...
I put a date/timestamp in my description to force a redeploy every time the templates are updated. This is pretty easy for me...
Read more >Creating a CloudFormation Custom Resource | by Eden Hare
For example, if you need to deploy the same set of resources in multiple regions, ... What are CloudFormation Custom Resources?
Read more >Top 10 Serverless Deployment Errors (and How to Fix Them)
You don't remember adding any custom resources. The cause: When you're configuring a function, if Trigger on First Deploy (or First/Every) is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that’s because your have multiple custom resources. Let’s discuss this again when #9515 is released.
Thank you for looking into this.
According to the log it seems to only add a max of one minute. But I’m seeing a tiny change take 6 minutes to deploy. That’s without the upload and so on. Just CF changes.