doctl icon indicating copy to clipboard operation
doctl copied to clipboard

feature: functions: create function triggers with doctl

Open KylePeterDavies opened this issue 1 year ago • 1 comments

What is the problem this feature would solve? Please describe.

I would like to be able to create Serverless Function Triggers with doctl and not project.yml.

Describe the solution you'd like

doctl serverless trigger create --name "trigger" --cron "* * * * * *" --payload "{}"

Additional context

I would like to be able to automate the creation of triggers without needing to update the project.yml

KylePeterDavies avatar May 27 '24 19:05 KylePeterDavies

I still want this feature as of 11th of January, 2025. This would allow me to pass payloads from the Command Line Interface (CLI) I reuse these payloads with go test

KylePeterDavies avatar Jan 11 '25 16:01 KylePeterDavies