ERROR: (gcloud.beta.functions.deploy) argument --entry-point
mrdulin opened this issue · 0 comments
mrdulin commented
执行:
gcloud beta functions deploy --entry-point=./index.js --trigger-resource ${TOPIC} --trigger-event google.pubsub.topic.publish
报错:
ERROR: (gcloud.beta.functions.deploy) argument --entry-point: Invalid value './index.js': Entry point name must contain only Latin letters (lower- or upper-case), digits, dot (.) and underscore (_), and must be at most 128 characters long. It can neither begin nor end with a dot (.), nor contain two consecutive dots (..).
Usage: gcloud beta functions deploy NAME [optional flags]
optional flags may be --clear-labels | --entry-point | --help | --memory |
--region | --remove-labels | --retry | --source |
--stage-bucket | --timeout | --trigger-bucket |
--trigger-event | --trigger-http | --trigger-resource |
--trigger-topic | --update-labels
For detailed information on this command and its flags, run:
gcloud beta functions deploy --help