Comments (2)
Hi @Benjythebee,
Are your variables defined in your project.yml
file? For example, if your .env
file looks like
FOO=bar
Your project.yml
file might look like:
parameters: {}
environment: {}
packages:
- name: sample
shared: false
environment: {}
parameters: {}
annotations: {}
functions:
- name: hello
binary: false
main: ""
runtime: nodejs:default
web: true
webSecure: false
parameters: {}
environment:
FOO: "${FOO}"
annotations: {}
limits: {}
For more detail see: https://docs.digitalocean.com/products/functions/reference/project-configuration/
from doctl.
Hi @andrewsomething ,
that's perfect, it was indeed a user error. The self-centered part of me also probably want to blame the difficulty in finding it in the docs, but the docs are not as bad as some other services 😅
Thanks a lot!, will close my ticket!
from doctl.
Related Issues (20)
- `doctl auth init` connection refused
- Ability to validate App Spec Schema in Offline Mode
- Get deployment status via doctl HOT 3
- Ability to deploy separate parts of an App
- doctl registry garbage-collection start --force moves the registry to RO mode but don't run garbage collector
- webgui xterm code HOT 1
- Serverless triggers are not being deployed HOT 4
- Why do we have to SSH into a droplet, and then install the Droplet Agent? Why can't you just pre-install it? HOT 3
- Adding taints has wrong syntax in DO docs HOT 2
- Access the link to download CA certificate for managed databases HOT 1
- Incremental builds don't work with --remote-build
- doctl kubernetes cluster node-pool create mycluster123 --auto-scale --min-nodes 0 --name test --size s-1vcpu-2gb --max-nodes 1 --count 0 says the node pool needs at least min 1 HOT 2
- Error: websocket: bad handshake for doctl apps logs <app id> -f --tail 200 HOT 3
- doctl --user-data help syntax wrong HOT 1
- doctl registry login fails with "error storing credentials" HOT 1
- feature: functions: create function triggers with doctl
- functions: attributes generated by quick start are undocumented
- doctl apps logs doesn't output JSON
- `doctl auth list --output json` produces text output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctl.