Report this

What is the reason for this report?

App Platform Function Source

Posted on January 1, 2026

I would like to deploy a function from repo “XYZ” on app platform. That repo has a project.yml that contains multiple functions. I am only interested in deploying one, how can i specify which to deploy within my app spec?

Also, I have route path /functions and a rewrite /abc to /functions/ns/name but when deployed /functions/ns/name works but /abc gives me error "error": "The requested resource does not exist."



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Heya, @1001105920ontarioltd

I believe that on the App Platform, you can’t pick just one function out of a Functions repo by pointing at a multi-function project.yml. App Platform will deploy what the Functions project defines. There isn’t an app spec knob to select a single function from that file. The usual workaround is to split that function into its own repo/project.yml (or create a second project.yml that only includes the one you want) and deploy that.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.