Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
m
magnificent-lifeguard-15082
01/18/2022, 2:27 PM
Is it possible to run a lambda as part of a deployment? So I could say something to effect of this psuedo resource:
Service(..., dependsOn: migrationLambdaRun)
Edit: Found the
command
package 🙂
e
echoing-dinner-19531
01/18/2022, 2:45 PM
There's also
https://github.com/pulumi/pulumi/issues/2545
which would allow you to call your lambda inside an Output.Apply and then wait for that. But for now the command package is probably the best choice.
✅ 1
3 Views
Post