We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
use this instruction for create scheduled instance, using gcloud
https://cloud.google.com/scheduler/docs/start-and-stop-compute-engine-instances-on-a-schedule
After created functions - instance is not started. error in cloud fucntion startInstancePubSub -
The text was updated successfully, but these errors were encountered:
I was having the same problem, what I noticed is the cloud function code on the link is different from the code on Github.
The code on link make it seems there is event.data.data, which is false. To fix I used the code from the link but without pubsubMessage constant and passed event.data directly to Buffer.from() like the code on github (https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/functions/scheduleinstance/index.js#L36).
event.data.data
pubsubMessage
event.data
Buffer.from()
Hope it helps :)
Sorry, something went wrong.
👋 @zhukovnv84 Thanks for raising the issue. Looks like our documentation got updated to use event.data and should be correct.
No branches or pull requests
use this instruction for create scheduled instance, using gcloud
https://cloud.google.com/scheduler/docs/start-and-stop-compute-engine-instances-on-a-schedule
After created functions - instance is not started.
error in cloud fucntion startInstancePubSub -
The text was updated successfully, but these errors were encountered: