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
t
thankful-lamp-48382
07/03/2019, 5:18 PM
check method in Dynamic Provider accepts as params oldOutputs: MyResourceProviderOutputs, newInputs: MyResourceProviderInputs as diff method?
w
white-balloon-205
07/03/2019, 5:31 PM
No -
check
gets passed "old inputs" and "new inputs", whereas
diff
gets passed "old outputs" and "new checked inputs" (the inputs returned from
check
).
See
https://pulumi.io/reference/programming-model/#dynamicproviders
, and in particular
https://pulumi.io/reference/programming-model/#check-olds-news
and
https://pulumi.io/reference/programming-model/#diff-id-olds-news
.
t
thankful-lamp-48382
07/03/2019, 5:49 PM
Oh, right, it is described there! I was looking at it and couldn't see, thanks Luke!
Post