https://pulumi.com logo
#general
Title
# general
c

cool-hair-35481

08/20/2019, 6:16 PM
Hello everyone. I worked through this example and it was probably the easiest lambda / api gateway deployment (complete with secrets management) that I've done so far: https://github.com/pulumi/examples/tree/master/aws-ts-apigateway-auth0 | However I have a question. Let's say that I wanted to only deploy that authorizer and attach it to an existing API gateway? Can this be done?
f

future-barista-68134

08/20/2019, 6:25 PM
Hey Damian, this blog post may be helpful for you: https://www.pulumi.com/blog/adopting-existing-cloud-resources-into-pulumi/
c

cool-hair-35481

08/20/2019, 6:29 PM
thanks
it isn't even so much that I want to add it to the existing api gateway, I just don't understand how to deploy a lambda that isn't tied to an api gateway
actually I think I might have found an example
f

future-barista-68134

08/20/2019, 6:36 PM
here's the docs on how to use the lambda module https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/lambda/