aws-solutions/video-on-demand-on-aws-foundation

Custom Resource failed to stabilize in expected time

Closed this issue · 4 comments

Trying to deploy it with CDK and after it hangs for an hour trying to deploy the Custom Resource, it gives this error: "Custom Resource failed to stabilize in expected time."

Hi, trying to replicate issue at our end. Will get back to you when we have findings. Thanks!

What seems to be happening is that when you deploy via CDK, the library dependencies are not being packaged up with the Lambda functions automatically. The installation of the custom resources fails to find expected modules.
You will need to run npm install both in the source/custom-resource and the source/job-submit directories. Then run deploy. We'll update our documentation in the next release. Hope this gets you unblocked.

Thanks a lot for fast reply!!! That solution worked.
I wonder if there is anyway to adjust the timeout, so in case of errors doesn't take 2 hrs.

Added in the v1.1.0 release.