Open choyg opened 4 years ago
Oddly, the mixin defines its own interface for the arguments instead of simply inheriting from the generated one. Not sure about the history behind that, but assuming we can just switch to that, I think that would clear this up.
Yep, this would save us countless hours!
The
vpcConnector
can be supplied to a normal GCP Function, but not a HttpCallbackFunction which causes a type error if supplied. The correct resources are generated if casting to any:Function args: https://github.com/pulumi/pulumi-gcp/blob/86ff099c99c4b946d895484ceb79a950bd82be7e/sdk/nodejs/cloudfunctions/function.ts#L128-L131