I don't think that's too complex scenario, it's just a lambda done in another language. Would be nice to get it running in a couple lines of JS wiring + reference to proper compiled binary.
tall-librarian-49374
07/10/2018, 8:08 AM
Creating aws.Function is fine, but then I need to do all dancing with api gateway, IAM etc, which I'm afraid of 🙂
tall-librarian-49374
07/10/2018, 8:09 AM
Do you think there will be some API close to cloud.API supporting custom binaries? cc @white-balloon-205
tall-librarian-49374
07/10/2018, 11:12 AM
Got it working. Basically, the only noice there is role/policy definition
w
white-balloon-205
07/10/2018, 4:26 PM
Right - the goal of
serverless.apigateway.API
is to take care of all the complex stuff needed to configure API Gateway. The Role/Policy is part of the specific Lambda, and in the cases where you are providing that yourself, that part still has to be done manually. But even that we will likely add some helpers to make it a bit simpler to create with sensible defaults.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.