white-balloon-205
import * as openfaas from "@pulumi/openfaas";
const func = new openfaas.Function("hello-node", {
service: "hello-node",
build: "hello-node:latest",
});
In the near future, we will be extending this to support the same kind of super-simple functions that are frequently used in AWS and now Azure and GCP, like the following:
import * as openfaas from "@pulumi/openfaas";
const f = new openfaas.serverless.Function("f", {}, (context: any, callback: any) => {
callback(undefined, {status: "done"});
});
export let url = f.url;
This will be a great way to make it easier to deploy cloud functions onto many additional platforms!