Pretty new to both gcp and pulumi (coming from an ...
# general
b
Pretty new to both gcp and pulumi (coming from an aws/serverless framework background fwiw). It looks like the
HttpCallbackFunction
is meant to serve as an abstraction over the regular
gcp.cloudfunctions.Function
resource. Am I correct in assuming that only the latter allows for customization of the node runtime, available memory, etc.?
t
The memory is configurable with
availableMemoryMb
. The runtime is fixed to node js because that's what you write your callback for.
b
i’m not seeing any option for setting memory in
HttpCallbackFunction
, just regular function. by runtime i mean node 10 vs 8
Copy code
new gcp.cloudfunctions.HttpCallbackFunction("f", {
    availableMemoryMb: 128,
    callback: work,
});
Good point about the runtime. I'd appreciate if you could file an issue.
b
thanks! will do!