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

cool-hair-35481

08/08/2019, 11:55 PM
Hello all. So I’m loving pulumi so far, but I can’t figure out the best way to deploy what should be fairly simple. I’m trying to deploy a few lambdas that make HTTP requests to a third party API. They are invoked directly by one of our microservices. There seems to be a few ways to do this, but the issue I was having is that I created an Object in TypeScript that had a few methods defined on it, and attempted to import it into the index.ts file. I was getting a lot of errors about serialization, etc. so I tried importing the code inside the closure of the function but still no luck. Does anyone know of a working example that demonstrates something like this? Thanks.