You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may provide additional configuration in the `netlify.toml` file to configure the resources available to your serverless functions, or to configure the API path for your functions. Here is an example.
70
70
71
71
```toml
72
-
[nimbella]
72
+
[[plugins]]
73
+
package = "netlify-plugin-nimbella"
74
+
[plugins.inputs]
73
75
functions = "functions"# Functions source directory. Use this if you would like to use Nimbella to deploy your functions.
74
-
timeout = 6000# Function timeout limit in milliseconds.
75
76
memory = 256# Function memory limit in MB.
76
77
path = "/api/"# The prefix path to access your deployed packages.
78
+
timeout = 6000# Function timeout limit in milliseconds.
77
79
```
78
80
79
81
## Usage
@@ -112,13 +114,13 @@ You will invoke the function `auth/login.js` via the API end point `https://your
112
114
113
115
You can deploy your existing Netlify Functions to Nimbella Cloud with very minimal changes.
114
116
115
-
Move the `functions`property under `build` to `nimbella` inside `netlify.toml`.
117
+
Specify the `functions`input value under `[plugins.inputs]` inside `netlify.toml`.
116
118
117
119
```diff
118
-
[build]
119
-
-functions = './functions'
120
-
+[nimbella]
121
-
+functions = './functions' # Source directory
120
+
[[plugins]]
121
+
package = "netlify-plugin-nimbella"
122
+
+ [plugins.inputs]
123
+
+functions = "functions" # Functions source directory. Use this if you would like to use Nimbella to deploy your functions.
122
124
```
123
125
124
126
This plugin builds your functions using a modified version of [netlify-lambda](https://github.com/netlify/netlify-lambda). You can get rid of any build steps you're performing on functions since the plugin handles it for you.
0 commit comments