Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Resource failed to stabilize in expected time #4

Closed
benm5678 opened this issue Mar 25, 2021 · 4 comments
Closed

Custom Resource failed to stabilize in expected time #4

benm5678 opened this issue Mar 25, 2021 · 4 comments

Comments

@benm5678
Copy link

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."

@morjoan
Copy link
Member

morjoan commented Mar 25, 2021

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

@morjoan
Copy link
Member

morjoan commented Mar 25, 2021

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.

@benm5678
Copy link
Author

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.

@eggoynes
Copy link
Member

Added in the v1.1.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants