i use webpack to zip up the lambda, and then you can upload the lambda through the aws console
l
little-cartoon-10569
02/24/2021, 7:55 PM
If you prefer the CLI (handy for running automatically from your editor), then you could create a new project with just the resources you want to change, and import them?
little-cartoon-10569
02/24/2021, 7:55 PM
That would speed up
pulumi up
g
gentle-monitor-55086
02/24/2021, 8:02 PM
hmmm...
i'm using pulumi's ".CallbackFunction" to avoid having to pack up the lambda myself which complicates that.
Otherwise yea that +
aws lambda invoke
cli might have been a decent enough work flow.
tenwit:
hm that's not a bad idea either, might be a bit of a pain to orchestrate the resource names between the projects ( though i can probably fetch them easily enough )
anyway to get pulumi to hand me the package it's zipping up?
gentle-monitor-55086
02/24/2021, 8:03 PM
then i could have it make the initial lambda, dump it, use the webpack + invoke idea for rapid dev, copy the changes back over and then pulumi up.
(so simple 🙃 )
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.