Skip to content

update valid runtimes for Go#61

Open
boldenburg wants to merge 1 commit intodigitalocean:mainfrom
boldenburg:patch-1
Open

update valid runtimes for Go#61
boldenburg wants to merge 1 commit intodigitalocean:mainfrom
boldenburg:patch-1

Conversation

@boldenburg
Copy link

@boldenburg boldenburg commented Jan 29, 2026

According to:

valid Go runtimes for Functions are go:1.17 and go:1.20. Deployed Functions will happily run with a provided project.yml value of go:1.20, but doctl serverless get-metadata will return an error:

$ doctl serverless get-metadata .
Error: Invalid project configuration file (project.yml): 'go:1.20' is not a valid runtime value
    Learn more about the project configuration file https://docs.digitalocean.com/products/functions/reference/project-configuration/

According to:

- https://docs.digitalocean.com/products/functions/reference/runtimes/
- https://docs.digitalocean.com/products/functions/reference/runtimes/go/

valid Go runtimes for Functions are `go:1.17` and `go:1.20`. Deployed Functions will happily run with a provided `project.yml` value of `go:1.20`, but `doctl serverless get-metadata` will return an error:

```
doctl serverless get-metadata .
Error: Invalid project configuration file (project.yml): 'go:1.20' is not a valid runtime value
    Learn more about the project configuration file https://docs.digitalocean.com/products/functions/reference/project-configuration/
```
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

Successfully merging this pull request may close these issues.

1 participant